File tree Expand file tree Collapse file tree 6 files changed +10
-9
lines changed Expand file tree Collapse file tree 6 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 11
11
./package_js.sh --skipClean
12
12
./package_wasmJs.sh --skipClean
13
13
14
- echo " Android Output: sample/build/outputs/apk/release/"
15
- echo " Desktop Output: sample/build/compose/binaries/main/"
16
- echo " JS Output: sample/build/dist/js/productionExecutable/"
17
- echo " WasmJs Output: sample/build/dist/wasmJs/productionExecutable/"
14
+ echo " Android distribution is written to $( pwd ) / sample/build/outputs/apk/release/"
15
+ echo " Desktop distribution is written to $( pwd ) sample/build/compose/binaries/main/"
16
+ echo " JS distribution is written to $( pwd ) sample/build/dist/js/productionExecutable/"
17
+ echo " WasmJs distribution is written to $( pwd ) sample/build/dist/wasmJs/productionExecutable/"
18
18
echo " ✅ All packages are created successfully."
Original file line number Diff line number Diff line change 9
9
10
10
./gradlew sample:assembleRelease
11
11
12
- echo " ✅ Android package is created successfully. Output: sample/build/outputs/apk/release/"
12
+ echo " ✅ Android package is created successfully. The distribution is written to $( pwd ) / sample/build/outputs/apk/release/"
Original file line number Diff line number Diff line change 9
9
10
10
./gradlew sample:packageDistributionForCurrentOS
11
11
12
- echo " ✅ Desktop package is created successfully. Output: sample/build/compose/binaries/main/"
12
+ echo " ✅ Desktop package is created successfully. The distribution is written to $( pwd ) / sample/build/compose/binaries/main/"
Original file line number Diff line number Diff line change 9
9
10
10
./gradlew sample:jsBrowserDistribution
11
11
12
- echo " ✅ JS package is created successfully. Output: sample/build/dist/js/productionExecutable/"
12
+ echo " ✅ JS package is created successfully. The distribution is written to $( pwd ) / sample/build/dist/js/productionExecutable/"
Original file line number Diff line number Diff line change 9
9
10
10
./gradlew sample:wasmJsBrowserDistribution
11
11
12
- echo " ✅ WasmJs package is created successfully. Output: sample/build/dist/wasmJs/productionExecutable/"
12
+ echo " ✅ WasmJs package is created successfully. The distribution is written to $( pwd ) / sample/build/dist/wasmJs/productionExecutable/"
Original file line number Diff line number Diff line change @@ -207,7 +207,8 @@ compose.desktop {
207
207
)
208
208
}
209
209
buildTypes.release.proguard {
210
- // obfuscate.set(true) // Obfuscate the code
210
+ obfuscate.set(true ) // Obfuscate the code
211
+ optimize.set(true ) // proguard optimization, enabled by default
211
212
configurationFiles.from(project.file(" compose-desktop.pro" ))
212
213
}
213
214
}
You can’t perform that action at this time.
0 commit comments