-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
57 lines (45 loc) · 1.2 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
55
56
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.org.javamodularity:moduleplugin:1.0.1"
}
}
subprojects {
apply plugin: 'java'
apply plugin: "org.javamodularity.moduleplugin"
apply plugin: 'maven-publish'
sourceCompatibility = 11
targetCompatibility = 11
group 'kmw.utilities'
version '1.0.1'
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.3.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1',
'org.junit.vintage:junit-vintage-engine:5.1.0'
testCompileOnly 'junit:junit:4.12'
}
test {
useJUnitPlatform()
testLogging {
events 'PASSED', 'FAILED', 'SKIPPED'
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
build.dependsOn publishMavenJavaPublicationToMavenLocal
}