@@ -46,29 +46,29 @@ kotlin {
4646 }
4747
4848 jvm {
49- compilations {
50- val main by getting
51- val logbackTest by compilations.creating {
52- defaultSourceSet {
53- dependencies {
54- // Compile against the main compilation's compile classpath and outputs:
55- implementation(main.compileDependencyFiles + main.output.classesDirs)
56- implementation(kotlin(" test-junit" ))
49+ compilations {
50+ val main by getting
51+ val logbackTest by compilations.creating {
52+ defaultSourceSet {
53+ dependencies {
54+ // Compile against the main compilation's compile classpath and outputs:
55+ implementation(main.compileDependencyFiles + main.output.classesDirs)
56+ implementation(kotlin(" test-junit" ))
57+ }
58+ }
59+ val logbackTest = tasks.register<Test >(" logbackTest" ) {
60+ description = " Runs tests with Logback"
61+ group = " verification"
62+ // Run the tests with the classpath containing the compile dependencies (including 'main'),
63+ // runtime dependencies, and the outputs of this compilation:
64+ classpath = compileDependencyFiles + runtimeDependencyFiles + output.allOutputs
65+
66+ // Run only the tests from this compilation's outputs:
67+ testClassesDirs = output.classesDirs
68+ }
69+ tasks[" allTests" ].dependsOn(logbackTest)
5770 }
58- }
59- val logbackTest = tasks.register<Test >(" logbackTest" ) {
60- description = " Runs tests with Logback"
61- group = " verification"
62- // Run the tests with the classpath containing the compile dependencies (including 'main'),
63- // runtime dependencies, and the outputs of this compilation:
64- classpath = compileDependencyFiles + runtimeDependencyFiles + output.allOutputs
65-
66- // Run only the tests from this compilation's outputs:
67- testClassesDirs = output.classesDirs
68- }
69- tasks[" allTests" ].dependsOn(logbackTest)
7071 }
71- }
7272 }
7373 js {
7474 browser {
@@ -108,8 +108,10 @@ kotlin {
108108 iosArm64(),
109109 iosSimulatorArm64(),
110110 iosX64(),
111+ watchosArm32(),
111112 watchosArm64(),
112113 watchosSimulatorArm64(),
114+ watchosDeviceArm64(),
113115 watchosX64(),
114116 tvosArm64(),
115117 tvosSimulatorArm64(),
0 commit comments