Android Studio 2.3.3

proguard issues still not fixed in canary
gtask_note_sync
Alex Baker 7 years ago
parent 44dea88fe2
commit 39246f192a

@ -23,5 +23,5 @@ before_install:
- adb shell input keyevent 82 &
script:
- ./gradlew :app:lintGoogleplayDebug
- ./gradlew :app:connectedGoogleplayDebugAndroidTest
- ./gradlew :app:lintGoogleplayProdDebug
- ./gradlew :app:connectedGoogleplayProdDebugAndroidTest

@ -7,13 +7,10 @@ task wrapper(type: Wrapper) {
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-alpha3'
classpath 'com.android.tools.build:gradle:2.3.3'
}
}
@ -36,8 +33,10 @@ android {
versionCode 457
versionName "4.9.14"
targetSdkVersion 25
minSdkVersion 15
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
jackOptions {
enabled true
}
}
signingConfigs {
@ -60,7 +59,7 @@ android {
}
}
flavorDimensions 'store'
flavorDimensions 'store', 'env'
productFlavors {
generic {
@ -72,6 +71,14 @@ android {
amazon {
dimension 'store'
}
dev {
minSdkVersion 21
dimension 'env'
}
prod {
minSdkVersion 15
dimension 'env'
}
}
if (project.hasProperty('keyAlias') &&

@ -137,7 +137,7 @@ public class BasicPreferences extends InjectingPreferenceActivity implements
});
findPreference(R.string.TLA_menu_donate).setOnPreferenceClickListener(preference -> {
if (BuildConfig.FLAVOR.equals("googleplay")) {
if (BuildConfig.FLAVOR_store.equals("googleplay")) {
newDonationDialog().show(getFragmentManager(), FRAG_TAG_DONATION);
} else {
startActivity(new Intent(Intent.ACTION_VIEW).setData(Uri.parse("http://tasks.org/donate")));
@ -214,7 +214,7 @@ public class BasicPreferences extends InjectingPreferenceActivity implements
requires(R.string.get_plugins, atLeastJellybeanMR1(), R.string.p_purchased_dashclock);
requires(R.string.settings_localization, atLeastJellybeanMR1(), R.string.p_language, R.string.p_layout_direction);
if (!BuildConfig.FLAVOR.equals("googleplay")) {
if (!BuildConfig.FLAVOR_store.equals("googleplay")) {
requires(R.string.settings_general, false, R.string.synchronization);
requires(R.string.privacy, false, R.string.p_collect_statistics);
}

Loading…
Cancel
Save