File tree Expand file tree Collapse file tree 7 files changed +44
-44
lines changed
core/platform/android/libaxmol
templates/common/proj.android/app
cpp-tests/proj.android/app
fairygui-tests/proj.android/app
live2d-tests/proj.android/app
lua-tests/proj.android/app
unit-tests/proj.android/app Expand file tree Collapse file tree 7 files changed +44
-44
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ apply from: 'axmol.gradle'
4
4
def buildProfiles = AxmolUtils . resolveBasicBuildProfiles(project)
5
5
6
6
android {
7
- namespace " dev.axmol.lib"
7
+ namespace = ' dev.axmol.lib'
8
8
def targetSdk = buildProfiles[' targetSdk' ]
9
9
def minSdk = buildProfiles[' minSdk' ]
10
- compileSdk targetSdk. toInteger()
10
+ compileSdk = targetSdk. toInteger()
11
11
12
12
defaultConfig {
13
- minSdkVersion minSdk
14
- targetSdkVersion targetSdk
13
+ minSdkVersion = minSdk
14
+ targetSdkVersion = targetSdk
15
15
versionCode 1
16
16
versionName " 1.0"
17
17
}
@@ -29,7 +29,7 @@ android {
29
29
}
30
30
}
31
31
buildFeatures {
32
- aidl true
32
+ aidl = true
33
33
}
34
34
}
35
35
Original file line number Diff line number Diff line change @@ -12,17 +12,17 @@ android {
12
12
def targetSdk = buildProfiles[' targetSdk' ]
13
13
14
14
// Apply build profiles
15
- namespace packageName
16
- compileSdk targetSdk. toInteger()
15
+ namespace = packageName
16
+ compileSdk = targetSdk. toInteger()
17
17
ndkVersion = buildProfiles[' ndkVer' ]
18
18
if (buildProfiles. containsKey(' ndkPath' )) {
19
19
ndkPath = buildProfiles[' ndkPath' ]
20
20
}
21
21
22
22
defaultConfig {
23
- applicationId packageName
24
- minSdkVersion minSdk
25
- targetSdkVersion targetSdk
23
+ applicationId = packageName
24
+ minSdkVersion = minSdk
25
+ targetSdkVersion = targetSdk
26
26
versionCode 1
27
27
versionName " 1.0"
28
28
@@ -48,7 +48,7 @@ android {
48
48
49
49
externalNativeBuild {
50
50
cmake {
51
- version " $ cmakeVer "
51
+ version = cmakeVer
52
52
path " ../../CMakeLists.txt"
53
53
}
54
54
}
@@ -70,7 +70,7 @@ android {
70
70
jniDebuggable false
71
71
renderscriptDebuggable false
72
72
minifyEnabled true
73
- shrinkResources true
73
+ shrinkResources = true
74
74
proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
75
75
proguardFile file(project(' :libaxmol' ). projectDir. toString() + ' /proguard-rules.pro' )
76
76
if (project. hasProperty(" KEY_STORE_FILE" )) {
@@ -90,7 +90,7 @@ android {
90
90
}
91
91
92
92
buildFeatures {
93
- aidl true
93
+ aidl = true
94
94
}
95
95
}
96
96
Original file line number Diff line number Diff line change @@ -11,17 +11,17 @@ android {
11
11
def targetSdk = buildProfiles[' targetSdk' ]
12
12
13
13
// Apply build profiles
14
- namespace packageName
15
- compileSdk targetSdk. toInteger()
14
+ namespace = packageName
15
+ compileSdk = targetSdk. toInteger()
16
16
ndkVersion = buildProfiles[' ndkVer' ]
17
17
if (buildProfiles. containsKey(' ndkPath' )) {
18
18
ndkPath = buildProfiles[' ndkPath' ]
19
19
}
20
20
21
21
defaultConfig {
22
- applicationId packageName
23
- minSdkVersion minSdk
24
- targetSdkVersion targetSdk
22
+ applicationId = packageName
23
+ minSdkVersion = minSdk
24
+ targetSdkVersion = targetSdk
25
25
versionCode 1
26
26
versionName " 1.0"
27
27
@@ -48,7 +48,7 @@ android {
48
48
49
49
externalNativeBuild {
50
50
cmake {
51
- version " $ cmakeVer "
51
+ version = cmakeVer
52
52
path " ../../CMakeLists.txt"
53
53
}
54
54
}
@@ -70,7 +70,7 @@ android {
70
70
jniDebuggable false
71
71
renderscriptDebuggable false
72
72
minifyEnabled true
73
- shrinkResources true
73
+ shrinkResources = true
74
74
proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
75
75
if (project. hasProperty(" KEY_STORE_FILE" )) {
76
76
signingConfig signingConfigs. release
Original file line number Diff line number Diff line change @@ -11,17 +11,17 @@ android {
11
11
def targetSdk = buildProfiles[' targetSdk' ]
12
12
13
13
// Apply build profiles
14
- namespace packageName
15
- compileSdk targetSdk. toInteger()
14
+ namespace = packageName
15
+ compileSdk = targetSdk. toInteger()
16
16
ndkVersion = buildProfiles[' ndkVer' ]
17
17
if (buildProfiles. containsKey(' ndkPath' )) {
18
18
ndkPath = buildProfiles[' ndkPath' ]
19
19
}
20
20
21
21
defaultConfig {
22
- applicationId packageName
23
- minSdkVersion minSdk
24
- targetSdkVersion targetSdk
22
+ applicationId = packageName
23
+ minSdkVersion = minSdk
24
+ targetSdkVersion = targetSdk
25
25
versionCode 1
26
26
versionName " 1.0"
27
27
@@ -48,7 +48,7 @@ android {
48
48
49
49
externalNativeBuild {
50
50
cmake {
51
- version " $ cmakeVer "
51
+ version = cmakeVer
52
52
path " ../../CMakeLists.txt"
53
53
}
54
54
}
Original file line number Diff line number Diff line change @@ -11,17 +11,17 @@ android {
11
11
def targetSdk = buildProfiles[' targetSdk' ]
12
12
13
13
// Apply build profiles
14
- namespace packageName
15
- compileSdk targetSdk. toInteger()
14
+ namespace = packageName
15
+ compileSdk = targetSdk. toInteger()
16
16
ndkVersion = buildProfiles[' ndkVer' ]
17
17
if (buildProfiles. containsKey(' ndkPath' )) {
18
18
ndkPath = buildProfiles[' ndkPath' ]
19
19
}
20
20
21
21
defaultConfig {
22
- applicationId packageName
23
- minSdkVersion minSdk
24
- targetSdkVersion targetSdk
22
+ applicationId = packageName
23
+ minSdkVersion = minSdk
24
+ targetSdkVersion = targetSdk
25
25
versionCode 1
26
26
versionName " 1.0"
27
27
@@ -48,7 +48,7 @@ android {
48
48
49
49
externalNativeBuild {
50
50
cmake {
51
- version " $ cmakeVer "
51
+ version cmakeVer
52
52
path " ../../CMakeLists.txt"
53
53
}
54
54
}
Original file line number Diff line number Diff line change @@ -11,17 +11,17 @@ android {
11
11
def targetSdk = buildProfiles[' targetSdk' ]
12
12
13
13
// Apply build profiles
14
- namespace packageName
15
- compileSdk targetSdk. toInteger()
14
+ namespace = packageName
15
+ compileSdk = targetSdk. toInteger()
16
16
ndkVersion = buildProfiles[' ndkVer' ]
17
17
if (buildProfiles. containsKey(' ndkPath' )) {
18
18
ndkPath = buildProfiles[' ndkPath' ]
19
19
}
20
20
21
21
defaultConfig {
22
- applicationId packageName
23
- minSdkVersion minSdk
24
- targetSdkVersion targetSdk
22
+ applicationId = packageName
23
+ minSdkVersion = minSdk
24
+ targetSdkVersion = targetSdk
25
25
versionCode 1
26
26
versionName " 1.0"
27
27
@@ -48,7 +48,7 @@ android {
48
48
49
49
externalNativeBuild {
50
50
cmake {
51
- version " $ cmakeVer "
51
+ version cmakeVer
52
52
path " ../../CMakeLists.txt"
53
53
}
54
54
}
Original file line number Diff line number Diff line change @@ -11,17 +11,17 @@ android {
11
11
def targetSdk = buildProfiles[' targetSdk' ]
12
12
13
13
// Apply build profiles
14
- namespace packageName
15
- compileSdk targetSdk. toInteger()
14
+ namespace = packageName
15
+ compileSdk = targetSdk. toInteger()
16
16
ndkVersion = buildProfiles[' ndkVer' ]
17
17
if (buildProfiles. containsKey(' ndkPath' )) {
18
18
ndkPath = buildProfiles[' ndkPath' ]
19
19
}
20
20
21
21
defaultConfig {
22
- applicationId packageName
23
- minSdkVersion minSdk
24
- targetSdkVersion targetSdk
22
+ applicationId = packageName
23
+ minSdkVersion = minSdk
24
+ targetSdkVersion = targetSdk
25
25
versionCode 1
26
26
versionName " 1.0"
27
27
@@ -48,7 +48,7 @@ android {
48
48
49
49
externalNativeBuild {
50
50
cmake {
51
- version " $ cmakeVer "
51
+ version cmakeVer
52
52
path " ../../CMakeLists.txt"
53
53
}
54
54
}
You can’t perform that action at this time.
0 commit comments