enable optimisations and minifying for release builds
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
* closes #19 * update gradle wrapper to version 6.6
This commit is contained in:
parent
c629b2aec2
commit
be30e2f968
|
@ -19,8 +19,8 @@ android {
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
minifyEnabled false
|
minifyEnabled true
|
||||||
shrinkResources false
|
shrinkResources true
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,9 @@
|
||||||
# Uncomment this to preserve the line number information for
|
# Uncomment this to preserve the line number information for
|
||||||
# debugging stack traces.
|
# debugging stack traces.
|
||||||
#-keepattributes SourceFile,LineNumberTable
|
#-keepattributes SourceFile,LineNumberTable
|
||||||
|
-dontobfuscate
|
||||||
|
|
||||||
# If you keep the line number information, uncomment this to
|
# If you keep the line number information, uncomment this to
|
||||||
# hide the original source file name.
|
# hide the original source file name.
|
||||||
#-renamesourcefileattribute SourceFile
|
#-renamesourcefileattribute SourceFile
|
||||||
|
-keep class org.mosad.seil0.projectlaogai.util.** { <fields>; }
|
|
@ -34,7 +34,9 @@ import org.mosad.seil0.projectlaogai.util.TimetableWeek
|
||||||
* and lessonMap objects. It also contains the additional subjects logic.
|
* and lessonMap objects. It also contains the additional subjects logic.
|
||||||
* All functions ro read or update cache files are located in the CacheController.
|
* All functions ro read or update cache files are located in the CacheController.
|
||||||
*
|
*
|
||||||
* TODO add configurable week to addSubject() and removeSubject(), updateAdditionalLessons()
|
* TODO
|
||||||
|
* * add second week
|
||||||
|
* * add configurable week to addSubject() and removeSubject(), updateAdditionalLessons()
|
||||||
*/
|
*/
|
||||||
class TimetableController {
|
class TimetableController {
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
Loading…
Reference in New Issue