-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
47 lines (39 loc) · 1.07 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
plugins {
id "io.github.gradle-nexus.publish-plugin" version "1.1.0"
id 'com.diffplug.spotless' version '6.8.0'
id "maven-publish"
}
apply from: "gradle/release.gradle"
repositories {
mavenLocal()
mavenCentral()
}
spotless {
freshmark {
target 'README.md'
propertiesFile('gradle.properties')
}
}
subprojects { subproj ->
apply plugin: 'java-library'
apply plugin: 'com.diffplug.spotless'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}
repositories {
//mavenLocal()
mavenCentral()
}
dependencies {
testImplementation 'org.apiguardian:apiguardian-api:1.1.0'
testImplementation 'org.assertj:assertj-core:3.13.2'
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitJupiterVersion"
testImplementation "org.junit.jupiter:junit-jupiter-engine:$junitJupiterVersion"
//testCompile group: 'org.junit.platform', name: 'junit-platform-runner', version: '1.5.0'
}
test {
useJUnitPlatform()
}
}