Using Kobalt instead of Gradle in Android Studio


#1

Hello, did somebody try to use kobalt instead of gradle?


#2

Yes, it’s great.
My only drawback is that in intellij auto update is instant.
I think there should be a delay of a couple of seconds.


#3

is it faster, than gradle?


#4

Yes, kobalt depends heavily on parallel builds and does so effectively.


#5

thank you!


#6

But Gradle does parallel build as well?!


#7

You can configure the kobalt plugin so that updates only happen manually.

If you don’t want Intellij to update the project immediately when you edit the build file, go to your project’s .idea folder, find kobalt.xml, and remove this line:

<option name="useAutoImport" value="true" />


#8

I like to have it autocompleted, but I would like to have it with a small delay.
Because I’m not a very fast writer and at the moment the project rebuilds different times during my writing


#9

is there a way to use kobalt in Android Studio?


#10

there is an android-kobalt plugin so I guess you should install it.


#11

thank you!


#12

Thx = like, good for my stats :wink:

Your welcome


#13

Did you have success with the kobalt android plugin?


#14

partly


#15

What’s failing?


#16

ERROR Could not find artifact com.android.support:appcompat-v7:aar:26.1.0 in (https://jcenter.bintray.com/)


#17

looks like google maven is not imported…

repos(“https://maven.google.com”) should fix it.

I see the android-kobalt plugin is not updated recently… :flushed: