We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa88309 commit acd2925Copy full SHA for acd2925
.github/workflow-samples/java-toolchain/build.gradle renamed to .github/workflow-samples/java-toolchain/build.gradle.kts
@@ -1,5 +1,5 @@
1
plugins {
2
- id 'java'
+ java
3
}
4
5
java {
@@ -12,6 +12,10 @@ repositories {
12
mavenCentral()
13
14
15
-dependencies {
16
- testImplementation('junit:junit:4.13.2')
17
-}
+testing {
+ suites {
+ val test by getting(JvmTestSuite::class) {
18
+ useJUnit()
19
+ }
20
21
+}
.github/workflow-samples/java-toolchain/settings.gradle
.github/workflow-samples/java-toolchain/settings.gradle.kts
@@ -0,0 +1,6 @@
+plugins {
+ // Apply the foojay-resolver plugin to allow automatic download of JDKs
+ id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0"
+
6
+rootProject.name = "java-toolchains"
0 commit comments