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 7
7
"main" : " index.js" ,
8
8
"preferGlobal" : true ,
9
9
"repository" : " https://github.com/theapache64/create-compose-app" ,
10
- "version" : " 2022.8.28.1 " ,
10
+ "version" : " 2022.8.29 " ,
11
11
"jdeploy" : {},
12
12
"dependencies" : {
13
13
"shelljs" : " 0.8.4"
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import kotlin.io.path.Path
10
10
import kotlin.io.path.div
11
11
12
12
private const val IS_DEBUG = false
13
+ private const val VERSION = " 2022.8.29"
13
14
14
15
enum class Platform (val title : String ) {
15
16
Android (" 🤖 Android" ),
@@ -22,7 +23,7 @@ enum class Platform(val title: String) {
22
23
23
24
24
25
fun main (args : Array <String >) {
25
-
26
+ println ( Color . GREEN , " Initializing create-compose-app (v $VERSION ) " )
26
27
val platform = if (IS_DEBUG ) {
27
28
Platform .DesktopGame
28
29
} else {
@@ -64,7 +65,7 @@ fun createAndroidApp() {
64
65
" rootProject.name = \" compose-android-template\" " to " rootProject.name = \" ${corvette.projectDirName} \" " , // settings.build.gradle
65
66
" com.theapache64.composeandroidtemplate" to corvette.packageName,
66
67
" <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(), " _" ),
68
69
" versionCode 20211003" to " versionCode ${genVersionCode()} "
69
70
)
70
71
You can’t perform that action at this time.
0 commit comments