@@ -13,56 +13,33 @@ android {
13
13
enabled = true
14
14
}
15
15
defaultConfig {
16
- applicationId " mf.asciitext"
16
+ applicationId " mf.asciitext.lite "
17
17
minSdkVersion 14
18
18
targetSdkVersion 29
19
19
versionCode 10
20
20
versionName " 2.2.0"
21
21
vectorDrawables. useSupportLibrary = true
22
22
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
23
+ resValue " string" , " versionName" , versionName
24
+ resValue " string" , " feedbackUri" , " https://mobilefirst.me/feedback?appId=irregular-expressions&os=android&version=" + versionName
25
+ resValue " string" , " rateUri" , " https://play.google.com/store/apps/details?id=" + applicationId
23
26
}
24
27
buildTypes {
25
28
release {
26
29
minifyEnabled true
27
30
proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
28
31
}
29
- applicationVariants. all {
30
- variant ->
31
-
32
- def packageName = applicationId
33
- def suffix = variant. buildType. versionNameSuffix
34
- if (suffix != null && ! suffix. isEmpty() && suffix != " null" ) {
35
- packageName + = suffix
36
- }
37
-
38
- variant. resValue " string" , " versionName" , variant. versionName
39
- variant. resValue " string" , " feedbackUri" , " https://mobilefirst.me/feedback?appId=irregular-expressions&os=android&version=" + variant. versionName
40
- variant. resValue " string" , " rateUri" , " https://play.google.com/store/apps/details?id=" + packageName
41
- }
42
32
}
43
- flavorDimensions " flavor"
44
- productFlavors {
45
- lite {
46
- dimension " flavor"
47
- applicationIdSuffix " .lite"
48
- versionNameSuffix " "
49
- }
50
- pro {
51
- dimension " flavor"
52
- applicationId " mf.asciitext"
53
- }
54
- }
55
-
56
33
}
57
34
58
35
dependencies {
59
36
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
60
37
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
61
38
implementation ' androidx.appcompat:appcompat:1.1.0'
62
- implementation ' androidx.core:core-ktx:1.2 .0'
39
+ implementation ' androidx.core:core-ktx:1.3 .0'
63
40
implementation ' androidx.constraintlayout:constraintlayout:1.1.3'
64
41
implementation ' androidx.legacy:legacy-support-v4:1.0.0'
65
- implementation ' com.google.android.material:material:1.2 .0-alpha06 '
42
+ implementation ' com.google.android.material:material:1.3 .0-alpha01 '
66
43
implementation " androidx.cardview:cardview:1.0.0"
67
44
implementation ' androidx.lifecycle:lifecycle-extensions:2.2.0'
68
45
implementation ' androidx.recyclerview:recyclerview:1.1.0'
0 commit comments