Skip to content

Commit 8a79e05

Browse files
authored
Merge pull request androidannotations#2073 from WonderCsabo/fix-kotlin-example
Fix Kotlin example
2 parents 31d9e9f + 4774e2e commit 8a79e05

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎.travis.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ script:
3333
- ./mvnw install
3434
- cd $TRAVIS_BUILD_DIR/examples/gradle
3535
- ./gradlew assembleDebug
36+
- cd $TRAVIS_BUILD_DIR/examples/kotlin
37+
- ./gradlew assembleDebug
38+
- cd $TRAVIS_BUILD_DIR/examples/RoboGuiceExample
39+
- ./gradlew assembleDebug
3640
- set +e
3741

3842
after_success:

‎examples/kotlin/src/main/kotlin/org/androidannotations/gradle/activity/HelloAndroidActivity.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ open class HelloAndroidActivity : Activity() {
2424

2525
@Extra
2626
@JvmField
27-
protected var myIntExtra: Int = 0
27+
protected final var myIntExtra: Int = 0
2828

2929
@AfterViews
3030
protected fun afterViews() {

0 commit comments

Comments
 (0)