mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
upgrade AS and gradle and with luck travis will work
This commit is contained in:
parent
32df1777d3
commit
091299c030
4 changed files with 12 additions and 10 deletions
|
@ -9,7 +9,7 @@ android:
|
||||||
components:
|
components:
|
||||||
- tools
|
- tools
|
||||||
- platform-tools
|
- platform-tools
|
||||||
- build-tools-23.0.3
|
- build-tools-27.0.3
|
||||||
- android-23
|
- android-23
|
||||||
before_script:
|
before_script:
|
||||||
- export TERM=dumb
|
- export TERM=dumb
|
||||||
|
|
|
@ -27,7 +27,9 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
buildToolsVersion '23.0.3'
|
// Specify buildToolsVersion so gradle will inform when the
|
||||||
|
// default changes and .travis.yml can be kept in sync
|
||||||
|
buildToolsVersion '27.0.3'
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 8
|
minSdkVersion 8
|
||||||
targetSdkVersion 23
|
targetSdkVersion 23
|
||||||
|
@ -190,20 +192,20 @@ android {
|
||||||
def newName = output.outputFile.name
|
def newName = output.outputFile.name
|
||||||
newName = newName.replace(".apk","-${GITREV}.apk")
|
newName = newName.replace(".apk","-${GITREV}.apk")
|
||||||
newName = newName.replace("app-","")
|
newName = newName.replace("app-","")
|
||||||
output.outputFile = new File(output.outputFile.parent, newName)
|
output.outputFileName = newName
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// Look into replacing this with a fetch too PENDING
|
// Look into replacing this with a fetch too PENDING
|
||||||
xw4Compile files('../libs/gcm.jar')
|
xw4Implementation files('../libs/gcm.jar')
|
||||||
|
|
||||||
compile 'com.android.support:support-v4:23.4.0'
|
implementation 'com.android.support:support-v4:23.4.0'
|
||||||
|
|
||||||
// 2.6.8 is probably as far forward as I can go without upping my
|
// 2.6.8 is probably as far forward as I can go without upping my
|
||||||
// min-supported SDK version
|
// min-supported SDK version
|
||||||
xw4dCompile('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
|
xw4dImplementation('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
|
||||||
transitive = true;
|
transitive = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,9 +4,10 @@ buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
maven { url 'https://maven.fabric.io/public' }
|
maven { url 'https://maven.fabric.io/public' }
|
||||||
|
google()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:2.2.3'
|
classpath 'com.android.tools.build:gradle:3.1.2'
|
||||||
classpath 'io.fabric.tools:gradle:1.+'
|
classpath 'io.fabric.tools:gradle:1.+'
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
|
@ -29,7 +30,6 @@ subprojects {
|
||||||
if (project.hasProperty("android")) {
|
if (project.hasProperty("android")) {
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 23
|
compileSdkVersion 23
|
||||||
buildToolsVersion "23.0.3"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#Tue Sep 13 19:49:09 PDT 2016
|
#Sun May 06 14:11:02 PDT 2018
|
||||||
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-2.14.1-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
|
||||||
|
|
Loading…
Add table
Reference in a new issue