Skip to content

Commit d53b66d

Browse files
committedAug 4, 2020
Improve build config
1 parent b72a29d commit d53b66d

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed
 

‎README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ Point to the Android SDK directory by setting the environment variable
4444

4545
ANDROID_HOME=${HOME}/myapps/android-sdk/
4646

47-
Create the file `gradle.properties` containing the lines:
47+
In order to change your build environment create the file `gradle.properties`
48+
at a location pointed to by the environment variable `GRADLE_USER_HOME`.
49+
This will extend and override the definitions found in the `gradle.properties`
50+
that is part of the release. Add e.g.
4851

4952
org.gradle.jvmargs=-Xmx1536m
5053
org.gradle.parallel=true
51-
android.enableD8=true
52-
android.useAndroidX=true
53-
android.enableJetifier=true
54-
# Using the default ("false") for now because "true" actually makes the APK bigger for some reason
55-
# android.enableR8.fullMode=true
54+
# Experimental (makes the APK a bit smaller)
55+
android.enableR8.fullMode=true
5656

5757
Build the Kõnele app
5858

@@ -63,7 +63,7 @@ If you have access to a release keystore then
6363

6464
- point to its location by setting the environment variable `KEYSTORE`
6565
- set `KEY_ALIAS` to the key alias
66-
- add these lines to `gradle.properties`:
66+
- add these lines to your `gradle.properties` found in `GRADLE_USER_HOME`:
6767

6868
storePassword=<password1>
6969
keyPassword=<password2>

‎app/build.gradle

+4-6
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies {
1212
implementation 'androidx.recyclerview:recyclerview:1.1.0'
1313
//implementation 'androidx.activity:activity:1.2.0-alpha06'
1414
implementation 'androidx.dynamicanimation:dynamicanimation:1.0.0'
15-
implementation 'com.google.android.material:material:1.1.0'
15+
implementation 'com.google.android.material:material:1.2.0'
1616
}
1717

1818
android {
@@ -26,8 +26,8 @@ android {
2626
applicationId 'ee.ioc.phon.android.speak'
2727
minSdkVersion 16
2828
targetSdkVersion 30
29-
versionCode 1734
30-
versionName '1.7.34'
29+
versionCode 1736
30+
versionName '1.7.36'
3131
vectorDrawables.useSupportLibrary = true
3232
// Keep only en and et resources
3333
resConfigs "en", "et"
@@ -70,9 +70,7 @@ android {
7070
}
7171

7272
buildFeatures {
73-
viewBinding {
74-
enabled = true
75-
}
73+
viewBinding true
7674
}
7775

7876
}

‎gradle.properties

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
android.enableD8=true
2+
android.enableJetifier=true
13
android.useAndroidX=true

0 commit comments

Comments
 (0)
Failed to load comments.