Gradle and dependency updates

This commit is contained in:
Adrian Rumpold
2017-12-21 00:19:28 +01:00
parent 2bcd3cca75
commit d428d46f8d
4 changed files with 14 additions and 15 deletions

View File

@@ -1,13 +1,13 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
android { android {
compileSdkVersion 25 compileSdkVersion 27
buildToolsVersion "26.0.0" buildToolsVersion "27.0.1"
defaultConfig { defaultConfig {
applicationId "rumpold.de.androiddsky" applicationId "de.rumpold.androiddsky"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 25 targetSdkVersion 27
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0"
} }
@@ -20,10 +20,10 @@ android {
} }
dependencies { dependencies {
compile fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
def supportLibVersion = "25.4.0" def supportLibVersion = "27.0.2"
compile "com.android.support:appcompat-v7:$supportLibVersion" implementation "com.android.support:appcompat-v7:$supportLibVersion"
compile "com.android.support:support-v4:$supportLibVersion" implementation "com.android.support:support-v4:$supportLibVersion"
} }

View File

@@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.3' classpath 'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@@ -15,9 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
maven { google()
url("http://maven.google.com")
}
} }
} }

Binary file not shown.

View File

@@ -1,6 +1,6 @@
#Sun Jun 11 16:37:20 CEST 2017 #Thu Dec 21 00:03:42 CET 2017
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-4.4.1-bin.zip