11rootProject. version = ' 9.9.1-alpha'
22group = ' com.spaceshift'
33
4- subprojects {
4+ allprojects {
55
66 repositories {
77 mavenCentral()
88 }
99
1010 apply plugin : " java-library"
11+ apply plugin : " java-test-fixtures"
1112 apply plugin : ' maven-publish'
1213
1314 sourceCompatibility = JavaVersion . VERSION_11
1415 targetCompatibility = JavaVersion . VERSION_11
1516
16- ext {
17- projectreactorVersion = ' 3.2.9.RELEASE'
18- sl4jVersion = ' 1.7.26'
19- javaxMailVersion = " 1.5.0-b01"
20- testcontainersVersion = ' 1.11.1'
21- lombokVersion = ' 1.18.6'
22- junitJupiterVersion = " 5.4.2"
23- jetbrainsAnnotation = ' 17.0.0'
24- bintrayVersion = version
25- }
26-
2717 javadoc {
2818 failOnError = false
2919 }
@@ -33,15 +23,15 @@ subprojects {
3323 }
3424
3525 dependencies {
36- compileOnly " org .jetbrains: annotations: $j etbrainsAnnotation "
37- compileOnly " org.projectlombok: lombok: $l ombokVersion "
38- annotationProcessor " org.projectlombok: lombok: $l ombokVersion "
39-
40- testImplementation " org .junit.jupiter:junit-jupiter- api: $j unitJupiterVersion "
41- testCompileOnly " org.projectlombok: lombok: $l ombokVersion "
42- testCompileOnly " org .jetbrains: annotations: $j etbrainsAnnotation "
43- testRuntimeOnly " org .junit.jupiter:junit-jupiter- engine: $j unitJupiterVersion "
44- testAnnotationProcessor " org.projectlombok: lombok: $l ombokVersion "
26+ compileOnly libs . jetbrains. annotations
27+ compileOnly libs . lombok
28+ annotationProcessor libs . lombok
29+
30+ testImplementation libs . junit. api
31+ testCompileOnly libs . lombok
32+ testCompileOnly libs . jetbrains. annotations
33+ testRuntimeOnly libs . junit. engine
34+ testAnnotationProcessor libs . lombok
4535 }
4636
4737 /* compileJava {
@@ -58,6 +48,14 @@ subprojects {
5848 options. encoding = " UTF-8"
5949 }
6050
51+ compileTestJava {
52+ options. encoding = " UTF-8"
53+ }
54+
55+ tasks. withType(Javadoc ) {
56+ options. encoding = " UTF-8"
57+ }
58+
6159 task sourcesJar(type : Jar , dependsOn : classes) {
6260 afterEvaluate {
6361 getArchiveClassifier(). set(" sources" )
0 commit comments