This message was deleted.
# general
s
This message was deleted.
l
@Vampire you helped me a lot, thank you. I can confirm, that the buildSrc is executed before the included build. included build -> buildSrc -> main project -> sub-project. But one thing I don't understand: I have the following included build structure (see picture) but as far as I create a precompiled script under
java
folder, I get the error message:
java.lang.IllegalArgumentException: Failed requirement. at org.gradle.kotlin.dsl.tooling.builders.KotlinBuildScriptModelBuilderKt.getPrecompiledScriptPluginsMetadataDir(KotlinBuildScriptModelBuilder.kt:229)
the
build.gradle.kts
looks like this:
Copy code
plugins {
    `kotlin-dsl`
}
repositories {
    jcenter()
    google()
}

dependencies {
    implementation("com.android.tools.build:gradle:4.2.0-alpha14")
    implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.10")
}
Do you have an idea?
@Vampire Does this really matter? I tried it and it works but I renamed it back to java and it also works, I can't reproduce the error anymore. Sometimes gradle behaves strange... I noticed something else strange: Randomly I get the error (see picture). When I press the sync button again the error disappears.
m
But once you do that, AS will recognize it