🔧 chore(app, flowlayout/layouts): update icons, keystore handling, and ProGuard rules
This commit is contained in:
11 files changed
+48
-4
No files matched your search
@@ -59,6 +59,7 @@ captures/
|
|||||||
# Keystore files
|
# Keystore files
|
||||||
# Uncomment the following line if you do not want to check your keystore files in.
|
# Uncomment the following line if you do not want to check your keystore files in.
|
||||||
*.jks
|
*.jks
|
||||||
|
keystore.properties
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+19
-1
@@ -1,5 +1,11 @@
|
|||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
|
||||||
|
// Load keystore properties
|
||||||
|
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
||||||
|
def keystoreProperties = new Properties()
|
||||||
|
if (keystorePropertiesFile.exists()) {
|
||||||
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||||
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace "io.github.sankalp.lunox"
|
namespace "io.github.sankalp.lunox"
|
||||||
@@ -15,11 +21,22 @@ android {
|
|||||||
//resConfigs "en", "de"
|
//resConfigs "en", "de"
|
||||||
buildConfigField "boolean", "enableColorSniffer", "false"
|
buildConfigField "boolean", "enableColorSniffer", "false"
|
||||||
}
|
}
|
||||||
|
|
||||||
buildFeatures {
|
buildFeatures {
|
||||||
buildConfig true
|
buildConfig true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
signingConfigs {
|
||||||
|
release {
|
||||||
|
if (keystoreProperties['storeFile'] != null) {
|
||||||
|
keyAlias keystoreProperties['keyAlias']
|
||||||
|
keyPassword keystoreProperties['keyPassword']
|
||||||
|
storeFile file(keystoreProperties['storeFile'])
|
||||||
|
storePassword keystoreProperties['storePassword']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
applicationIdSuffix ".debug"
|
applicationIdSuffix ".debug"
|
||||||
@@ -31,6 +48,7 @@ android {
|
|||||||
shrinkResources false
|
shrinkResources false
|
||||||
}
|
}
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
debuggable false
|
debuggable false
|
||||||
jniDebuggable false
|
jniDebuggable false
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
<application
|
<application
|
||||||
android:allowBackup="true"
|
android:allowBackup="true"
|
||||||
android:clearTaskOnLaunch="true"
|
android:clearTaskOnLaunch="true"
|
||||||
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:launchMode="singleTask"
|
android:launchMode="singleTask"
|
||||||
android:stateNotNeeded="true"
|
android:stateNotNeeded="true"
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 264 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
@@ -2,14 +2,14 @@ apply plugin: 'com.android.library'
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
namespace "org.apmem.tools.layouts"
|
namespace "org.apmem.tools.layouts"
|
||||||
compileSdkVersion 29
|
compileSdkVersion 34
|
||||||
buildToolsVersion "34.0.0"
|
buildToolsVersion "34.0.0"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
versionCode 2
|
versionCode 2
|
||||||
versionName "0.2"
|
versionName "0.2"
|
||||||
minSdkVersion 14
|
minSdkVersion 21
|
||||||
targetSdkVersion 29
|
targetSdkVersion 34
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
|||||||
+24
@@ -0,0 +1,24 @@
|
|||||||
|
# Add project specific ProGuard rules here.
|
||||||
|
# You can control the set of applied configuration files using the
|
||||||
|
# proguardFiles setting in build.gradle.
|
||||||
|
#
|
||||||
|
# For more details, see
|
||||||
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||||
|
|
||||||
|
# If your project uses WebView with JS, uncomment the following
|
||||||
|
# and specify the fully qualified class name to the JavaScript interface
|
||||||
|
# class:
|
||||||
|
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||||
|
# public *;
|
||||||
|
#}
|
||||||
|
|
||||||
|
# Uncomment this to preserve the line number information for
|
||||||
|
# debugging stack traces.
|
||||||
|
#-keepattributes SourceFile,LineNumberTable
|
||||||
|
|
||||||
|
# If you keep the line number information, uncomment this to
|
||||||
|
# hide the original source file name.
|
||||||
|
#-renamesourcefileattribute SourceFile
|
||||||
|
|
||||||
|
# Keep all public classes and methods in the layouts library
|
||||||
|
-keep public class org.apmem.tools.layouts.** { *; }
|
||||||
Reference in new issue
Block a user