File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/main/kotlin/com/theapache64/createcomposeapp Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 77 "main" : " index.js" ,
88 "preferGlobal" : true ,
99 "repository" : " https://github.com/theapache64/create-compose-app" ,
10- "version" : " 2022.8.28.1 " ,
10+ "version" : " 2022.8.29 " ,
1111 "jdeploy" : {},
1212 "dependencies" : {
1313 "shelljs" : " 0.8.4"
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import kotlin.io.path.Path
1010import kotlin.io.path.div
1111
1212private const val IS_DEBUG = false
13+ private const val VERSION = " 2022.8.29"
1314
1415enum class Platform (val title : String ) {
1516 Android (" 🤖 Android" ),
@@ -22,7 +23,7 @@ enum class Platform(val title: String) {
2223
2324
2425fun main (args : Array <String >) {
25-
26+ println ( Color . GREEN , " Initializing create-compose-app (v $VERSION ) " )
2627 val platform = if (IS_DEBUG ) {
2728 Platform .DesktopGame
2829 } else {
@@ -64,7 +65,7 @@ fun createAndroidApp() {
6465 " rootProject.name = \" compose-android-template\" " to " rootProject.name = \" ${corvette.projectDirName} \" " , // settings.build.gradle
6566 " com.theapache64.composeandroidtemplate" to corvette.packageName,
6667 " <string name=\" app_name\" >compose-android-template</string>" to " <string name=\" app_name\" >${corvette.projectName} </string>" ,
67- " ComposeAndroidTemplate" to corvette.projectName.replace(" [^\\ w]+" .toRegex()," _" ),
68+ " ComposeAndroidTemplate" to corvette.projectName.replace(" [^\\ w]+" .toRegex(), " _" ),
6869 " versionCode 20211003" to " versionCode ${genVersionCode()} "
6970 )
7071
You can’t perform that action at this time.
0 commit comments