Slackbot
02/09/2023, 11:14 AMwolfs
02/09/2023, 11:43 AM8.0 RC3? This comes with a newer Kotlin version, maybe the problem has been fixed there.Vampire
02/09/2023, 12:25 PMusesService, isn't it?
So newer embedded Kotlin version will not help, will it?Jendrik Johannes
02/09/2023, 12:40 PMVampire
02/09/2023, 1:03 PMusesService calls in commit 278229d2face0, is that enough for you or do you need some workaround now?Jendrik Johannes
02/09/2023, 1:09 PMkotlin-dsl (the plugin embedded in Gradle), I don't get deprecation warnings. As a user, this feels like I am using only Gradle core.
I assume this will be "fixed" the in 8.1 by updating the Kotlin plugin to 1.9?
(It's not blocking me. I just wanted to give this feedback.)
And if there is a good workaround for 8.0 that I can share with others (that does not give me a different warning) I am also happy to hear it.Vampire
02/09/2023, 1:10 PMkotlin-dsl 😕Jendrik Johannes
02/09/2023, 1:11 PMVampire
02/09/2023, 1:16 PMI assume this will be "fixed" the in 8.1 by updating the Kotlin plugin to 1.9?I doubt it will be available by then 😄
Vampire
02/09/2023, 1:18 PMJendrik Johannes
02/09/2023, 1:18 PMVampire
02/09/2023, 1:20 PMVampire
02/09/2023, 1:21 PMJendrik Johannes
02/09/2023, 1:21 PMVampire
02/09/2023, 1:21 PMVampire
02/09/2023, 1:22 PMVampire
02/09/2023, 1:22 PMusesService calls as work-around.
Which you might also be able to do manually in your build.Jendrik Johannes
02/09/2023, 1:29 PMJendrik Johannes
02/09/2023, 1:34 PMPaul Merlin
02/09/2023, 1:45 PMPaul Merlin
02/09/2023, 1:45 PMPaul Merlin
02/09/2023, 1:46 PMPaul Merlin
02/09/2023, 1:47 PMwolfs
02/09/2023, 1:49 PMVampire
02/09/2023, 1:57 PMVampire
02/09/2023, 2:00 PM:build-logic:compileKotlin and immediately got
Build service 'variant_impl_factories_1150915352' is being used by task ':build-src:compileKotlin' without the corresponding declaration via 'Task#usesService'. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Declare the association between the task and the build service using 'Task#usesService'. Consult the upgrading guide for further information: <https://docs.gradle.org/8.0-rc-3/userguide/upgrading_version_7.html#undeclared_build_service_usage>
Build service 'org.jetbrains.kotlin.compilerRunner.CompilerSystemPropertiesService_1150915352' is being used by task ':build-src:compileKotlin' without the corresponding declaration via 'Task#usesService'. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Declare the association between the task and the build service using 'Task#usesService'. Consult the upgrading guide for further information: <https://docs.gradle.org/8.0-rc-3/userguide/upgrading_version_7.html#undeclared_build_service_usage>
Build service 'org.jetbrains.kotlin.gradle.incremental.IncrementalModuleInfoBuildService_1150915352' is being used by task ':build-src:compileKotlin' without the corresponding declaration via 'Task#usesService'. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Declare the association between the task and the build service using 'Task#usesService'. Consult the upgrading guide for further information: <https://docs.gradle.org/8.0-rc-3/userguide/upgrading_version_7.html#undeclared_build_service_usage>
Invocation of Task.project at execution time has been deprecated. This will fail with an error in Gradle 9.0. Consult the upgrading guide for further information: <https://docs.gradle.org/8.0-rc-3/userguide/upgrading_version_7.html#task_project>Jendrik Johannes
02/09/2023, 2:14 PMIs the warning only showing up when using the stable configuration cache build feature?Yes. That's it I think. Thanks! Missed that this was also just turned on in the project 😬
Jendrik Johannes
02/09/2023, 2:15 PMPaul Merlin
02/09/2023, 2:15 PMVampire
02/09/2023, 2:20 PMbuild-src does not have the feature enabled, but the root build has.
If I comment it out, no warning is shown. if I comment it back in, the warning comes back.Vampire
02/09/2023, 2:20 PMPaul Merlin
02/09/2023, 2:20 PMPaul Merlin
02/09/2023, 2:21 PMPaul Merlin
02/09/2023, 2:22 PMVampire
02/09/2023, 2:23 PMPaul Merlin
02/09/2023, 2:23 PMPaul Merlin
02/09/2023, 2:24 PMVampire
02/09/2023, 2:24 PMVampire
02/09/2023, 3:02 PMtasks.compileKotlin {
usesService(org.jetbrains.kotlin.gradle.plugin.VariantImplementationFactories.getProvider(gradle))
}
🙂Chris Lee
02/10/2023, 2:50 AMChris Lee
02/10/2023, 4:47 PMBuild service 'org.jetbrains.kotlin.compilerRunner.CompilerSystemPropertiesService_1310369408' is being used by task ':plugins:base:compileKotlin' without the corresponding declaration via 'Task#usesService'. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Declare the association between the task and the build service using 'Task#usesService'. Consult the upgrading guide for further information: <https://docs.gradle.org/8.0-rc-5/userguide/upgrading_version_7.html#undeclared_build_service_usage>
Build service 'org.jetbrains.kotlin.gradle.incremental.IncrementalModuleInfoBuildService_1310369408' is being used by task ':plugins:base:compileKotlin' without the corresponding declaration via 'Task#usesService'. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Declare the association between the task and the build service using 'Task#usesService'. Consult the upgrading guide for further information: <https://docs.gradle.org/8.0-rc-5/userguide/upgrading_version_7.html#undeclared_build_service_usage>Chris Lee
02/10/2023, 4:48 PMkotlin-dsl, somewhere…Vampire
02/10/2023, 10:56 PM