Skip to content
Snippets Groups Projects
Commit b70b7b0b authored by Hampus Rosenquist's avatar Hampus Rosenquist
Browse files

Change gradle settings for release

parent 3753de4b
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,15 @@ android { ...@@ -21,6 +21,15 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }
/*signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
}*/
buildTypes { buildTypes {
debug { debug {
versionNameSuffix ".debug" versionNameSuffix ".debug"
...@@ -28,9 +37,9 @@ android { ...@@ -28,9 +37,9 @@ android {
} }
release { release {
//signingConfig signingConfigs.release //signingConfig signingConfigs.release
//debuggable false debuggable false
resValue "string", "app_version", "${defaultConfig.versionName}" resValue "string", "app_version", "${defaultConfig.versionName}"
minifyEnabled false minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
} }
} }
......
...@@ -60,7 +60,7 @@ public class AuthenticationData extends MessageData { ...@@ -60,7 +60,7 @@ public class AuthenticationData extends MessageData {
Operator_ID_Signature(2), Operator_ID_Signature(2),
Message_Set_Signature(3), Message_Set_Signature(3),
Network_Remote_ID(4), Network_Remote_ID(4),
Specific_Authentication_Method(5), //Specific_Authentication_Method(5),
Private_Use_0xA(0xA), Private_Use_0xA(0xA),
Private_Use_0xB(0xB), Private_Use_0xB(0xB),
Private_Use_0xC(0xC), Private_Use_0xC(0xC),
...@@ -84,7 +84,7 @@ public class AuthenticationData extends MessageData { ...@@ -84,7 +84,7 @@ public class AuthenticationData extends MessageData {
case 2: this.authType = AuthTypeEnum.Operator_ID_Signature; break; case 2: this.authType = AuthTypeEnum.Operator_ID_Signature; break;
case 3: this.authType = AuthTypeEnum.Message_Set_Signature; break; case 3: this.authType = AuthTypeEnum.Message_Set_Signature; break;
case 4: this.authType = AuthTypeEnum.Network_Remote_ID; break; case 4: this.authType = AuthTypeEnum.Network_Remote_ID; break;
case 5: this.authType = AuthTypeEnum.Specific_Authentication_Method; break; //case 5: this.authType = AuthTypeEnum.Specific_Authentication_Method; break;
case 0xA: this.authType = AuthTypeEnum.Private_Use_0xA; break; case 0xA: this.authType = AuthTypeEnum.Private_Use_0xA; break;
case 0xB: this.authType = AuthTypeEnum.Private_Use_0xB; break; case 0xB: this.authType = AuthTypeEnum.Private_Use_0xB; break;
case 0xC: this.authType = AuthTypeEnum.Private_Use_0xC; break; case 0xC: this.authType = AuthTypeEnum.Private_Use_0xC; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment