gradle changes

This commit is contained in:
Ilia Kurtov 2016-08-23 15:31:56 +03:00
parent a9fdb2bfaf
commit 045953d11c
2 changed files with 22 additions and 23 deletions

View File

@ -1,19 +0,0 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}

View File

@ -1,11 +1,26 @@
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.3'
}
}
apply plugin: 'com.android.library'
allprojects {
repositories {
jcenter()
}
}
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
compileSdkVersion 24
buildToolsVersion "24.0.1"
defaultConfig {
minSdkVersion 12
minSdkVersion 14
//noinspection OldTargetApi
targetSdkVersion 23
versionCode 1
versionName "1.1"
@ -22,6 +37,9 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:support-compat:24.2.0'
compile 'com.android.support:design:24.2.0'
compile 'com.squareup.picasso:picasso:2.4.0'
}