Skip to content
Snippets Groups Projects
Commit 7ce6824c authored by Jawn's avatar Jawn
Browse files

Make project build with newer versions of Android Studio

parent bbc6e2dd
No related branches found
No related tags found
No related merge requests found
import com.android.build.gradle.tasks.PackageApplication
 
apply plugin: 'android'
apply plugin: 'com.android.application'
apply from: 'signing.gradle'
 
android {
compileSdkVersion 21
buildToolsVersion '21.1.1'
compileSdkVersion 22
buildToolsVersion '21.1.2'
 
defaultConfig {
minSdkVersion 14
targetSdkVersion 21
targetSdkVersion 22
versionCode 37
versionName "1.6.0"
}
buildTypes {
release {
signingConfig signingConfigs.release
runProguard false
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
debuggable false
jniDebugBuild false
zipAlign true
jniDebuggable false
zipAlignEnabled true
}
}
packagingOptions {
Loading
Loading
@@ -40,8 +40,8 @@ dependencies {
compile 'com.jakewharton:butterknife:5.1.2'
compile 'de.keyboardsurfer.android.widget:crouton:1.8.5@aar'
compile 'com.melnykov:floatingactionbutton:1.0.4'
compile 'com.android.support:support-v4:21.0.0'
compile 'com.android.support:appcompat-v7:21.0.0'
compile 'com.android.support:support-v4:22.1.1'
compile 'com.android.support:appcompat-v7:22.1.1'
compile fileTree(dir: 'libs', include: ['*.jar'])
}
 
Loading
Loading
@@ -50,7 +50,7 @@ task copyNativeLibs(type: Copy) {
into new File(buildDir, 'native-libs')
}
 
tasks.withType(Compile) { compileTask -> compileTask.dependsOn copyNativeLibs }
tasks.withType(JavaCompile) { compileTask -> compileTask.dependsOn copyNativeLibs }
 
clean.dependsOn 'cleanCopyNativeLibs'
 
Loading
Loading
Loading
Loading
@@ -5,7 +5,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.+'
classpath 'com.android.tools.build:gradle:1.2.3'
}
}
 
Loading
Loading
Loading
Loading
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.12-all.zip
distributionUrl=http\://services.gradle.org/distributions/gradle-2.2.1-all.zip
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment