-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
54 lines (44 loc) · 1.56 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import com.github.jk1.license.render.InventoryHtmlReportRenderer
/**
* Copyright (C) 2002 - 2021 Devexperts LLC
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
plugins {
id 'java'
id 'groovy'
id "com.github.johnrengelman.shadow" version "5.2.0" apply false
id "org.hibernate.build.maven-repo-auth" version "3.0.2"
id 'com.github.jk1.dependency-license-report' version '1.16'
}
repositories {
mavenCentral()
}
allprojects {
group 'com.devexperts.switchboard'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'maven-publish'
apply plugin: 'org.hibernate.build.maven-repo-auth'
apply plugin: 'com.github.jk1.dependency-license-report'
repositories {
mavenCentral()
}
dependencies {
implementation "org.apache.logging.log4j:log4j-slf4j-impl:$apacheLog4jVersion"
implementation "org.slf4j:slf4j-api:$slf4jVersion"
implementation "com.lmax:disruptor:$lmaxDisruptorVersion"
testImplementation "org.codehaus.groovy:groovy:$groovyVersion"
testImplementation "junit:junit:$junitVersion"
}
}
licenseReport {
projects = [project] + project.subprojects
configurations = ['compile']
excludeOwnGroup = true
renderers = [new InventoryHtmlReportRenderer('InventoryHtmlReportRenderer.html', 'Dependency licenses')]
}