@@ -124,17 +124,13 @@ dependencies {
124
124
implementation(libs.kaml)
125
125
implementation(libs.markdown)
126
126
implementation(libs.markdownJVM)
127
+ implementation(gradleApi())
128
+ implementation(libs.clikt)
127
129
128
130
testImplementation(kotlin(" test" ))
129
131
testImplementation(libs.mockitoKotlin)
130
132
testImplementation(libs.junitJupiter)
131
133
testImplementation(libs.junitJupiterParams)
132
-
133
- implementation(gradleApi())
134
- @OptIn(ExperimentalComposeLibrary ::class )
135
- testImplementation(compose.uiTest)
136
-
137
- implementation(libs.clikt)
138
134
}
139
135
140
136
tasks.test {
@@ -416,23 +412,6 @@ tasks.register<Copy>("includeJavaModeResources") {
416
412
from(java.layout.buildDirectory.dir(" resources-bundled" ))
417
413
into(composeResources(" ../" ))
418
414
}
419
- // TODO: Move to java mode
420
- tasks.register<Copy >(" renameWindres" ) {
421
- dependsOn(" includeSharedAssets" ," includeJavaModeResources" )
422
- val dir = composeResources(" modes/java/application/launch4j/bin/" )
423
- val os = DefaultNativePlatform .getCurrentOperatingSystem()
424
- val platform = when {
425
- os.isWindows -> " windows"
426
- os.isMacOsX -> " macos"
427
- else -> " linux"
428
- }
429
- from(dir) {
430
- include(" *-$platform *" )
431
- rename(" (.*)-$platform (.*)" , " $1$2" )
432
- }
433
- duplicatesStrategy = DuplicatesStrategy .INCLUDE
434
- into(dir)
435
- }
436
415
tasks.register(" includeProcessingResources" ){
437
416
dependsOn(
438
417
" includeJdk" ,
@@ -548,7 +527,7 @@ tasks.register("setExecutablePermissions") {
548
527
afterEvaluate {
549
528
tasks.named(" prepareAppResources" ).configure {
550
529
dependsOn(" includeProcessingResources" )
551
- // Make sure all libraries are bundled
530
+ // Make sure all libraries are bundled in the maven repository distributed with the app
552
531
dependsOn(listOf (" core" ," java:preprocessor" , " java:gradle" ).map { project(" :$it " ).tasks.named(" publishAllPublicationsToAppRepository" ) })
553
532
}
554
533
tasks.named(" createDistributable" ).configure {
0 commit comments