File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
build-logic/src/main/kotlin Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- import gradle.kotlin.dsl.accessors._9d6accdeac6876c73060866945fb6d8c.java
18
17
import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension
19
18
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
20
19
import org.jetbrains.kotlin.gradle.plugin.KotlinMultiplatformPluginWrapper
@@ -25,9 +24,11 @@ import org.modelix.MODELIX_JDK_VERSION
25
24
import org.modelix.MODELIX_JVM_TARGET
26
25
import org.modelix.MODELIX_KOTLIN_API_VERSION
27
26
28
- java {
29
- toolchain {
30
- languageVersion.set(JavaLanguageVersion .of(MODELIX_JDK_VERSION ))
27
+ plugins.withType<JavaPlugin > {
28
+ extensions.configure<JavaPluginExtension > {
29
+ toolchain {
30
+ languageVersion.set(JavaLanguageVersion .of(MODELIX_JDK_VERSION ))
31
+ }
31
32
}
32
33
}
33
34
You can’t perform that action at this time.
0 commit comments