Skip to content

Commit c9a83e7

Browse files
committed
Building gradle sample in Travis build
1 parent 385e411 commit c9a83e7

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ android:
55
- build-tools-20.0.0
66
licenses:
77
- android-sdk-license-5be876d5
8+
before_script:
9+
- export TERM=dumb
810
script:
911
- mvn -f AndroidAnnotations/pom.xml install
10-
- mvn -f examples/maveneclipse/pom.xml install
12+
- mvn -f examples/maveneclipse/pom.xml install -Dandroidannotations.version=3.1-SNAPSHOT
13+
- ./examples/gradle/gradlew build --build-file examples/gradle/build.gradle

examples/gradle/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repositories {
1717

1818
apply plugin: 'com.android.application'
1919
apply plugin: 'android-apt'
20-
def AAVersion = '3.0.1'
20+
def AAVersion = '3.1-SNAPSHOT' // change this to your desired version, for example the latest stable: 3.0.1
2121

2222
dependencies {
2323
apt "org.androidannotations:androidannotations:$AAVersion"

0 commit comments

Comments
 (0)