Skip to content

Commit

Permalink
Disable kotlin icremental builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Mygod committed Aug 30, 2018
1 parent c9ef3ef commit 33750fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
docker:
- image: shadowsocks/shadowsocks-android:circleci
environment:
JVM_OPTS: -Xmx3.5g
JVM_OPTS: -Xmx3.5g -Dkotlin.incremental=false
steps:
- checkout
- run: git submodule update --init --recursive
Expand Down

2 comments on commit 33750fa

@madeye
Copy link
Contributor

@madeye madeye commented on 33750fa Aug 30, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

circleci's official docker image is using OpenJDK, maybe that's why we see build failures.

https://hub.docker.com/r/circleci/android/~/dockerfile/

@Mygod
Copy link
Contributor Author

@Mygod Mygod commented on 33750fa Aug 30, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My local builds are all done on OpenJDK and it works fine.

The problem seems to be that Kotlin daemon is killed due to not having enough RAM. And unfortunately CircleCI doesn't want to provide us resource_class to increase RAM for free.

Please sign in to comment.