Slackbot
09/22/2021, 11:22 AMSlackbot
09/22/2021, 2:21 PMSlackbot
10/12/2021, 10:29 AMSlackbot
10/14/2021, 3:19 PMSlackbot
10/18/2021, 10:42 PMSlackbot
10/22/2021, 10:09 AMSlackbot
10/23/2021, 12:11 PMLastExceed
10/28/2021, 6:13 PMval generateSources by tasks.creating {
outputs.dir("build/generated/")
doLast {
File(
outputs.files.single(),
"generated.kt"
).writeText("""fun foo() = println("hello from generated code")""")
}
}
sourceSets["main"].java.srcDir(generateSources.outputs.files)
it works, but it requires me to put the code generation logic inside build.gradle
. how do move it into a subproject ?Slackbot
11/01/2021, 7:07 PMSlackbot
11/03/2021, 10:11 PMmelix
11/04/2021, 8:08 AMSlackbot
11/05/2021, 12:11 PMGiuseppe Barbieri
11/05/2021, 3:52 PMsettings.gradle.kts
. As soon as I add a buildSrc/build.gradle.kts
in one of them and sync, I get:
No model of type 'TurnOffDefaultTasks' is available in this build.
> No builders are available to build a model of type 'org.jetbrains.plugins.gradle.model.internal.TurnOffDefaultTasks'.
Slackbot
11/05/2021, 5:40 PMSlackbot
11/12/2021, 2:46 PMSlackbot
11/18/2021, 9:19 PMSlackbot
09/15/2021, 8:35 PMSlackbot
11/22/2021, 4:18 AMSlackbot
10/18/2021, 2:33 PMSlackbot
11/23/2021, 3:18 PMSlackbot
11/25/2021, 3:17 PMJohn Bellini
11/26/2021, 6:33 PMconfigure
on one project and then stops. No error is output or a failure. Image below of what the tail looks like with gradlew build --info
. Tried with gradle 7.2 and 7.3. settings file looks good to me calling out all projects listed. If I try running gradlew :subproject:build
, then that projects configure runs and then gradle stops processing anything else. Thoughts on what might be happening here?Slackbot
12/01/2021, 10:13 AMnight
12/02/2021, 3:58 AMSlackbot
12/07/2021, 5:07 PMSlackbot
12/13/2021, 4:40 PMSlackbot
12/28/2021, 7:22 PMSlackbot
01/04/2022, 3:22 PMSlackbot
01/10/2022, 5:38 PMSlackbot
01/11/2022, 4:13 PM