diff --git a/app/build.gradle b/app/build.gradle index b6c4ccdaafd..49ea2567e93 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -29,6 +29,7 @@ android { keyPassword System.getenv("KEY_PASSWORD") } } + defaultConfig { minSdkVersion 21 targetSdkVersion 27 @@ -53,6 +54,7 @@ android { versionName "dev" } } + buildTypes { debug { if (System.getenv("TRAVIS") == "true") { @@ -70,6 +72,7 @@ android { minifyEnabled false } } + release { applicationIdSuffix ".plah" buildConfigField "boolean", "ENABLE_LAWNFEED", "true" @@ -82,6 +85,7 @@ android { } } } + lintOptions { abortOnError false } @@ -113,6 +117,7 @@ dependencies { implementation 'com.github.florent37:fiftyshadesof:1.0.0' implementation 'me.jfenn:attribouter:0.0.5' } + repositories { mavenCentral() } diff --git a/build.gradle b/build.gradle index d2af673c961..e7d6e98bed7 100644 --- a/build.gradle +++ b/build.gradle @@ -7,6 +7,7 @@ buildscript { google() jcenter() } + dependencies { classpath 'com.android.tools.build:gradle:3.1.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" diff --git a/launcherclient/build.gradle b/launcherclient/build.gradle index 4ef58dc234c..384275f921a 100644 --- a/launcherclient/build.gradle +++ b/launcherclient/build.gradle @@ -5,7 +5,6 @@ android { compileSdkVersion 27 buildToolsVersion '27.0.3' - defaultConfig { minSdkVersion 21 targetSdkVersion 27 @@ -15,6 +14,7 @@ android { testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } + buildTypes { release { minifyEnabled false @@ -27,6 +27,7 @@ dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" } + repositories { mavenCentral() } diff --git a/lawnfeed/build.gradle b/lawnfeed/build.gradle index a8360d9ef8d..96891d68f4d 100644 --- a/lawnfeed/build.gradle +++ b/lawnfeed/build.gradle @@ -12,6 +12,7 @@ android { keyPassword System.getenv("KEY_PASSWORD") } } + defaultConfig { applicationId "ch.deletescape.lawnchair.lawnfeed" minSdkVersion 21 @@ -28,6 +29,7 @@ android { testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } + buildTypes { debug { minifyEnabled false @@ -36,6 +38,7 @@ android { signingConfig signingConfigs.travis } } + release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'