Skip to content

Commit

Permalink
Upgrade to Gradle 2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiao committed Feb 6, 2015
1 parent 7402aaa commit 9480004
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ before_install:
# Install base Android SDK
- sudo apt-get update -qq
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch > /dev/null; fi
- wget http://dl.google.com/android/android-sdk_r22.3-linux.tgz
- tar xzf android-sdk_r22.3-linux.tgz
- wget http://dl.google.com/android/android-sdk_r24.0.2-linux.tgz
- tar xzf android-sdk_r24.0.2-linux.tgz
- export ANDROID_HOME=$PWD/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools

# Install required components.
# For a full list, run `android list sdk -a --extended`
# Note that sysimg-19 downloads only ARM, because only the first license query is accepted.
- echo yes | android update sdk --filter platform-tools --no-ui --force > /dev/null
- echo yes | android update sdk --all --filter build-tools-19.0.0 --no-ui --force > /dev/null
- echo yes | android update sdk --all --filter build-tools-21.1.2 --no-ui --force > /dev/null
- echo yes | android update sdk --filter android-19 --no-ui --force > /dev/null
- echo yes | android update sdk --filter sysimg-19 --no-ui --force > /dev/null
- echo yes | android update sdk --filter extra-android-support --no-ui --force > /dev/null
Expand Down
4 changes: 2 additions & 2 deletions DanmakuFlameMaster/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:1.0.1+'
}
}
//apply plugin: 'android'
apply plugin: 'android-library'

android {
compileSdkVersion 19
buildToolsVersion "19.0.0"
buildToolsVersion "21.1.2"

defaultConfig {
minSdkVersion 7
Expand Down
6 changes: 3 additions & 3 deletions Sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:1.0.1+'
}
}
apply plugin: 'android'
Expand All @@ -29,7 +29,7 @@ dependencies {
}
android {
compileSdkVersion 19
buildToolsVersion "19.0.0"
buildToolsVersion "21.1.2"

defaultConfig {
minSdkVersion 7
Expand All @@ -41,7 +41,7 @@ android {
into new File(buildDir, 'native-libs')
}

tasks.withType(Compile) {
tasks.withType(JavaCompile) {
compileTask -> compileTask.dependsOn copyNativeLibs
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.9-bin.zip
distributionUrl=http\://services.gradle.org/distributions/gradle-2.2.1-all.zip
Empty file modified gradlew
100644 → 100755
Empty file.

0 comments on commit 9480004

Please sign in to comment.