New version of gradle

This commit is contained in:
Jacques Foucry 2017-12-11 15:24:50 +01:00
parent b9d60e1017
commit 79995cb45b
4 changed files with 28 additions and 16 deletions

View file

@ -8,8 +8,8 @@
<option name="gradleHome" value="$APPLICATION_HOME_DIR$/gradle/gradle-2.14.1" />
<option name="modules">
<set>
<option value="/usr/home/jacques/Documents/Sources/PillDroid" />
<option value="/usr/home/jacques/Documents/Sources/PillDroid/app" />
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
</set>
</option>
<option name="resolveModulePerSourceSet" value="false" />

View file

@ -1,12 +1,12 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '26.0.1'
compileSdkVersion 26
buildToolsVersion rootProject.ext.buildToolsVersion
defaultConfig {
applicationId "net.foucry.pilldroid"
minSdkVersion 23
targetSdkVersion 23
targetSdkVersion 26
versionCode 1
versionName "1.0"
}
@ -30,9 +30,8 @@ repositories {
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:support-v4:23.3.0'
compile 'com.android.support:recyclerview-v7:23.3.0'
compile 'com.android.support:design:23.3.0'
compile 'com.google.android.gms:play-services-appindexing:8.1.0'
}
compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support:recyclerview-v7:26.1.0'
compile 'com.android.support:design:26.1.0'
compile 'com.android.support:support-v4:26.1.0'
}

View file

@ -1,23 +1,36 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
ext {
compileSdkVersion = 26
buildToolsVersion = '27.0.1'
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
dependencies {
}

View file

@ -1,6 +1,6 @@
#Sat Aug 26 15:13:25 CEST 2017
#Mon Dec 11 14:03:59 CET 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip