-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·54 lines (40 loc) · 1 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
plugins {
id 'java'
}
allprojects {
repositories {
maven { url "https://jitpack.io" }
mavenCentral()
}
}
apply plugin: 'maven'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
group 'me.nort3x'
version '2.1.2'
dependencies {
compile 'net.oneandone.reflections8:reflections8:0.11.5'
compile 'org.slf4j:slf4j-api:1.7.25'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.3.1'
}
test {
useJUnitPlatform()
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
wrapper {
gradleVersion = "6.1.1"
distributionType = Wrapper.DistributionType.ALL
}