@@ -14,6 +14,10 @@ android {
14
14
namespace = " com.puutaro.commandclick"
15
15
compileSdk = 33
16
16
17
+ buildFeatures {
18
+ buildConfig = true
19
+ }
20
+
17
21
defaultConfig {
18
22
applicationId = " com.puutaro.commandclick"
19
23
minSdk = 27
@@ -23,23 +27,28 @@ android {
23
27
24
28
testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
25
29
base.archivesName.set(" ${applicationName} -${versionName} " )
26
-
30
+ buildTypes {
31
+ debug {
32
+ buildConfigField(" boolean" , " DEBUG" , " true" )
33
+ }
34
+ release {
35
+ buildConfigField(" boolean" , " DEBUG" , " false" )
36
+ isMinifyEnabled = false
37
+ proguardFiles(getDefaultProguardFile(
38
+ " proguard-android-optimize.txt" ),
39
+ " proguard-rules.pro"
40
+ )
41
+ }
42
+ }
27
43
// ndk {
28
44
// abiFilters += listOf("arm64-v8a", "x86_64")
29
45
// listOf("armeabi-v7a", "arm64-v8a")
30
46
// }
31
47
}
32
48
33
49
34
- buildTypes {
35
- release {
36
- isMinifyEnabled = false
37
- proguardFiles(getDefaultProguardFile(
38
- " proguard-android-optimize.txt" ),
39
- " proguard-rules.pro"
40
- )
41
- }
42
- }
50
+
51
+
43
52
compileOptions {
44
53
sourceCompatibility = JavaVersion .VERSION_1_8
45
54
targetCompatibility = JavaVersion .VERSION_1_8
@@ -60,40 +69,14 @@ extra["architectures"] = listOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64")
60
69
// ext.architectures = ["armeabi-v7a", "arm64-v8a", "x86", "x86_64"]
61
70
// ext.libDir = "$project.projectDir/src/main/resources/lib"
62
71
extra[" libDir" ] = " ${project.projectDir} /src/main/jniLibs"
63
- // chaquopy {
64
- // defaultConfig {
65
- // buildPython("/home/xbabu/.pyenv/shims/python")
66
- // pip {
67
- // // A requirement specifier, with or without a version number:
68
- // install("requests")
69
- // install("yt-dlp")
70
- // }
71
- // }
72
- // }
73
-
74
- // configurations {
75
- // runtimeOnly {
76
- // exclude("org.jetbrains.kotlin", "kotlin-stdlib-jdk8")
77
- // exclude("org.jetbrains.kotlin", "kotlin-stdlib-jdk7")
78
- // }
79
- // }
80
72
81
73
82
74
83
75
dependencies {
84
76
implementation(" androidx.core:core-ktx:1.10.1" )
85
- // {
86
- // exclude("org.jetbrains.kotlin", "kotlin-stdlib-jdk8")
87
- // exclude("org.jetbrains.kotlin", "kotlin-stdlib-jdk7")
88
- // }
89
77
implementation(" androidx.appcompat:appcompat:1.6.1" )
90
78
91
79
92
- // implementation("androidx.compose.material:material:1.4.3")
93
- // implementation("androidx.compose.ui:ui:1.4.3")
94
- // implementation("androidx.compose.ui:ui-tooling:1.4.3")
95
- // implementation("androidx.activity:activity-compose:1.7.2")
96
-
97
80
98
81
implementation(" androidx.constraintlayout:constraintlayout:2.1.4" )
99
82
implementation(" androidx.test:core-ktx:1.5.0" )
0 commit comments