File tree 7 files changed +24
-57
lines changed
7 files changed +24
-57
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,8 @@ repositories {
2
2
mavenCentral()
3
3
maven { url " https://s01.oss.sonatype.org/content/repositories/snapshots/" }
4
4
}
5
+
6
+ java {
7
+ sourceCompatibility = JavaVersion . toVersion(" 17" )
8
+ targetCompatibility = JavaVersion . toVersion(" 17" )
9
+ }
Original file line number Diff line number Diff line change
1
+ plugins {
2
+ id " io.micronaut.build.internal.aws-tests"
3
+ }
4
+ dependencies {
5
+ testAnnotationProcessor(platform(mn. micronaut. core. bom))
6
+ testAnnotationProcessor(mn. micronaut. inject. java)
7
+ testImplementation(platform(mn. micronaut. core. bom))
8
+ testImplementation(libs. junit. jupiter. api)
9
+ testImplementation(mnTest. micronaut. test. junit5)
10
+ testRuntimeOnly(libs. junit. jupiter. engine)
11
+ testRuntimeOnly(mn. snakeyaml)
12
+ }
13
+
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id " io.micronaut.build.internal.aws-base"
3
3
}
4
+
5
+ tasks. named(" test" ) {
6
+ useJUnitPlatform()
7
+ }
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id(" java-library" )
3
- id(" io.micronaut.build.internal.aws-tests" )
3
+ id(" io.micronaut.build.internal.aws-tests-java " )
4
4
}
5
-
6
- repositories {
7
- mavenCentral()
8
- }
9
-
10
- val micronautVersion: String by project
11
-
12
5
dependencies {
13
- testAnnotationProcessor(platform(mn.micronaut.core.bom))
14
- testAnnotationProcessor(mn.micronaut.inject.java)
15
- testImplementation(platform(mn.micronaut.core.bom))
16
- testImplementation(libs.junit.jupiter.api)
17
- testImplementation(mnTest.micronaut.test.junit5)
18
- testRuntimeOnly(libs.junit.jupiter.engine)
19
6
testImplementation(projects.micronautAwsSdkV2)
20
7
}
21
- tasks {
22
- named(" test" , Test ::class ) {
23
- useJUnitPlatform()
24
- }
25
- }
26
- java {
27
- sourceCompatibility = JavaVersion .toVersion(" 17" )
28
- targetCompatibility = JavaVersion .toVersion(" 17" )
29
- }
Original file line number Diff line number Diff line change @@ -4,10 +4,6 @@ plugins {
4
4
id(" io.micronaut.build.internal.aws-tests" )
5
5
}
6
6
7
- repositories {
8
- mavenCentral()
9
- }
10
-
11
7
dependencies {
12
8
testCompileOnly(mn.micronaut.inject.groovy)
13
9
testImplementation(mnTest.micronaut.test.spock)
Original file line number Diff line number Diff line change @@ -2,11 +2,6 @@ plugins {
2
2
id(" org.jetbrains.kotlin.jvm" )
3
3
id(" org.jetbrains.kotlin.kapt" )
4
4
id(" io.micronaut.build.internal.aws-tests" )
5
-
6
- }
7
-
8
- repositories {
9
- mavenCentral()
10
5
}
11
6
12
7
val micronautVersion: String by project
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id(" java-library" )
3
- id(" io.micronaut.build.internal.aws-tests" )
3
+ id(" io.micronaut.build.internal.aws-tests-java " )
4
4
}
5
-
6
- repositories {
7
- mavenCentral()
8
- }
9
-
10
- val micronautVersion: String by project
11
-
12
5
dependencies {
13
- testAnnotationProcessor(platform(mn.micronaut.core.bom))
14
- testAnnotationProcessor(mn.micronaut.inject.java)
15
- testImplementation(platform(mn.micronaut.core.bom))
16
- testImplementation(libs.junit.jupiter.api)
17
- testImplementation(mnTest.micronaut.test.junit5)
18
- testRuntimeOnly(libs.junit.jupiter.engine)
19
-
20
- testImplementation(platform(mn.micronaut.core.bom))
21
- testImplementation(" org.junit.jupiter:junit-jupiter-api" )
22
- testImplementation(" io.micronaut.test:micronaut-test-junit5" )
23
- testRuntimeOnly(" org.junit.jupiter:junit-jupiter-engine" )
24
6
testImplementation(projects.micronautFunctionAws)
25
7
testImplementation(projects.micronautFunctionClientAws)
26
- testRuntimeOnly(mn.snakeyaml)
27
8
}
28
9
29
10
tasks {
@@ -35,8 +16,3 @@ tasks {
35
16
systemProperty(" aws.region" , " us-east-1" )
36
17
}
37
18
}
38
-
39
- java {
40
- sourceCompatibility = JavaVersion .toVersion(" 17" )
41
- targetCompatibility = JavaVersion .toVersion(" 17" )
42
- }
You can’t perform that action at this time.
0 commit comments