another question. at the moment i want to write cu...
# gradle
b
another question. at the moment i want to write custom gradle plugins with the help of includedBuild. so i created a directory and marked it as includedBuild in settings.gradle.ktx. • in android studio 4.1 it is working and shows no errors • in android studio 4.2.0-alpha15 it is also working (building the project) but every gradle.ktx file is now showing errors. is this a know bug?
android studio 4.2.0-alpha15
android studio 4.1.0
v
Did you try to refresh the Gradle project manually? Did you try "Invalidate and Restart"? (Always worth a try if the IDE does behave unlogical like that) Btw. are you aware of pre-compiled script plugins? You can write your plugin with less boilerplate and with the the accessors being available just like if you would write a
build.gradle.kts
directly, just that you do it in a seperate project (no matter whether
buildSrc
or regular included build)
b
yes i tryed all the mentioned things but nothing is working. maybe i will rewrite it to precompiled script and try out this. thx
v
Well, maybe it is just a bug. After all you are using an alpha-version