Update gradle to 4 and gradle compile plugin
This commit is contained in:
parent
dd6b8ff25f
commit
ae4757361c
5 changed files with 15 additions and 7 deletions
4
OsmAnd/.gitignore
vendored
4
OsmAnd/.gitignore
vendored
|
@ -1,3 +1,7 @@
|
||||||
|
gradle
|
||||||
|
gradlew
|
||||||
|
gradlew.bat
|
||||||
|
|
||||||
valgrind/
|
valgrind/
|
||||||
bin/
|
bin/
|
||||||
dist/
|
dist/
|
||||||
|
|
|
@ -385,10 +385,10 @@ dependencies {
|
||||||
// compile project(':eclipse-compile:design')
|
// compile project(':eclipse-compile:design')
|
||||||
// compile project(':eclipse-compile:cardview')
|
// compile project(':eclipse-compile:cardview')
|
||||||
// compile project(':eclipse-compile:gridlayout')
|
// compile project(':eclipse-compile:gridlayout')
|
||||||
compile 'com.android.support:gridlayout-v7:25.3.1'
|
compile 'com.android.support:gridlayout-v7:26.+'
|
||||||
compile 'com.android.support:cardview-v7:25.3.1'
|
compile 'com.android.support:cardview-v7:26.+'
|
||||||
compile 'com.android.support:appcompat-v7:25.3.1'
|
compile 'com.android.support:appcompat-v7:26.+'
|
||||||
compile 'com.android.support:design:25.3.1'
|
compile 'com.android.support:design:26.+'
|
||||||
compile fileTree(include: ['*.jar'], exclude: ['QtAndroid-bundled.jar', 'QtAndroidAccessibility-bundled.jar', 'OsmAndCore_android.jar', 'OsmAndCore_wrapper.jar', 'android-support-multidex.jar'], dir: 'libs')
|
compile fileTree(include: ['*.jar'], exclude: ['QtAndroid-bundled.jar', 'QtAndroidAccessibility-bundled.jar', 'OsmAndCore_android.jar', 'OsmAndCore_wrapper.jar', 'android-support-multidex.jar'], dir: 'libs')
|
||||||
legacyCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@jar"
|
legacyCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@jar"
|
||||||
qtcoredebugCompile "net.osmand:OsmAndCore_androidNativeDebug:0.1-SNAPSHOT@aar"
|
qtcoredebugCompile "net.osmand:OsmAndCore_androidNativeDebug:0.1-SNAPSHOT@aar"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
# Indicates whether an apk should be generated for each density.
|
# Indicates whether an apk should be generated for each density.
|
||||||
split.density=false
|
split.density=false
|
||||||
# Project target.
|
# Project target.
|
||||||
target=android-23
|
target=android-26
|
||||||
dex.force.jumbo=true
|
dex.force.jumbo=true
|
||||||
android.library.reference.1=../eclipse-compile/appcompat
|
android.library.reference.1=../eclipse-compile/appcompat
|
||||||
android.library.reference.2=../eclipse-compile/design
|
android.library.reference.2=../eclipse-compile/design
|
||||||
|
|
|
@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 23
|
compileSdkVersion 23
|
||||||
buildToolsVersion "23.0.3"
|
buildToolsVersion "25.0.0"
|
||||||
|
|
||||||
dexOptions {
|
dexOptions {
|
||||||
jumboMode true
|
jumboMode true
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
|
maven {
|
||||||
|
// Google Maven Repository
|
||||||
|
url 'https://maven.google.com'
|
||||||
|
}
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:2.1.3'
|
classpath 'com.android.tools.build:gradle:2.+'
|
||||||
classpath 'com.google.gms:google-services:3.0.0'
|
classpath 'com.google.gms:google-services:3.0.0'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue