update gradle, fix #142 jeo dependencies

- featuring: travis makin trouble
This commit is contained in:
Hannes Janetzek 2015-03-19 13:22:02 +01:00
parent ecc26caec0
commit 35c22e68dc
5 changed files with 13 additions and 13 deletions

View File

@ -22,10 +22,10 @@ before_install:
- export ANDROID_HOME=$PWD/android-sdk-linux - export ANDROID_HOME=$PWD/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools - export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
# install android build tools # install android build tools
- wget https://dl-ssl.google.com/android/repository/build-tools_r21.1.1-linux.zip - wget https://dl-ssl.google.com/android/repository/build-tools_r22-linux.zip
- unzip build-tools_r21.1.1-linux.zip -d $ANDROID_HOME - unzip build-tools_r22-linux.zip -d $ANDROID_HOME
- mkdir -p $ANDROID_HOME/build-tools/ - mkdir -p $ANDROID_HOME/build-tools/
- mv $ANDROID_HOME/android-5.0 $ANDROID_HOME/build-tools/21.1.1 - mv $ANDROID_HOME/android-5.1 $ANDROID_HOME/build-tools/22
# Install required components. # Install required components.
# For a full list, run `android list sdk -a --extended` # For a full list, run `android list sdk -a --extended`
# Note that sysimg-18 downloads the ARM, x86 and MIPS images (we should optimize this). # Note that sysimg-18 downloads the ARM, x86 and MIPS images (we should optimize this).

View File

@ -58,8 +58,8 @@ Just import build.gradle
You can run gradle tasks directly (see also `./gradlew -q tasks`):<br/> You can run gradle tasks directly (see also `./gradlew -q tasks`):<br/>
`./gradlew clean install` <br/> to build the libraries and add them to the local maven repository.<br/> `./gradlew clean install` <br/> to build the libraries and add them to the local maven repository.<br/>
`./gradlew :vtm-android-example:run` <br/> to run the android example<br/> `./gradlew :vtm-android-example:run` <br/> to run the android example<br/>
`./gradlew :vtm-gdx-desktop:run` <br/>to run the desktop demo (only Linux64 and Win64 native libs are provided atm)<br/> `./gradlew :vtm-desktop:run` <br/>to run the desktop demo (only Linux64 and Win64 native libs are provided atm)<br/>
`./gradlew :vtm-gdx-html:jettyDraftWar` <br/>to run the webgl demo<br/> `./gradlew :vtm-web-app:jettyDraftWar` <br/>to run the webgl demo<br/>
## WebGL Demo ## WebGL Demo

View File

@ -11,11 +11,11 @@ buildscript {
dependencies { dependencies {
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.3' classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.3'
classpath 'com.android.tools.build:gradle:0.14.2' classpath 'com.android.tools.build:gradle:1.0.1'
// for aar/maven stuff // for aar/maven stuff
// https://github.com/dcendents/android-maven-plugin // https://github.com/dcendents/android-maven-plugin
classpath 'com.github.dcendents:android-maven-plugin:1.1' classpath 'com.github.dcendents:android-maven-plugin:1.2'
} }
} }
@ -24,7 +24,7 @@ def filterProjects(filter) {
} }
task wrapper(type: Wrapper) { task wrapper(type: Wrapper) {
gradleVersion = '2.1' gradleVersion = '2.3'
} }
//apply from:'jdee.gradle' //apply from:'jdee.gradle'
@ -34,13 +34,13 @@ allprojects {
version = '0.6.0-SNAPSHOT' version = '0.6.0-SNAPSHOT'
ext.gdxVersion = "1.4.1" ext.gdxVersion = "1.4.1"
ext.androidBuildVersionTools = "21.1.1" ext.androidBuildVersionTools = "22"
repositories { repositories {
maven { url 'https://github.com/hjanetzek/maven-repo/raw/master/' }
mavenCentral() mavenCentral()
// Jeo // Jeo
maven { url 'http://repo.boundlessgeo.com/main' } // maven { url 'http://repo.boundlessgeo.com/main' }
//maven { url 'https://github.com/hjanetzek/maven-repo/raw/master/' }
mavenLocal() mavenLocal()
// Local andoird repo // Local andoird repo
maven { url "${System.env.ANDROID_HOME}/extras/android/m2repository" } maven { url "${System.env.ANDROID_HOME}/extras/android/m2repository" }

Binary file not shown.

View File

@ -1,6 +1,6 @@
#Sun Oct 19 16:09:27 CEST 2014 #Thu Mar 19 13:11:24 CET 2015
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.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-2.3-bin.zip