nkiesel
05/03/2022, 9:12 AMplugins { id "org.jetbrains.kotlin.jvm" version "1.6.0" }
to plugins { id "org.jetbrains.kotlin.jvm" version "1.6.21" }
I now get: "DefaultTaskContainer#register(String, Class, Object...) on task set cannot be executed in the current context." This is with Gradle 6.9.2. Any idea what I'm doing wrong?tapchicoma
05/03/2022, 10:05 AMnkiesel
05/03/2022, 5:35 PMbuild.gradle
is:
161 subprojects { subproject ->
162
163 if (name in excludedProjectNames) {
164 // skip applying 'gradle' plugins
165 // to avoid the creation of empty jars
166 return
167 }
168
169 apply plugin: 'java-library'
170 apply plugin: 'eclipse'
171 apply plugin: 'maven'
172 apply plugin: 'jacoco'
173 apply plugin: 'org.jetbrains.kotlin.jvm'
174 apply plugin: 'org.jlleitschuh.gradle.ktlint'
175 apply plugin: 'io.gitlab.arturbosch.detekt'
nkiesel
05/03/2022, 5:37 PMsettings.gradle
contains:
1 pluginManagement {
2 repositories {
3 gradlePluginPortal()
4 maven {
5 name "ext-release-local"
6 url "<https://artifactory.rnd.metricstream.com/artifactory/ext-release-local>"
7 }
8 }
9
10 plugins {
11 id "com.gradle.enterprise" version "3.7.1"
12 id "org.sonarqube" version "2.8"
13 id "de.fayard.buildSrcVersions" version "0.7.0"
14 //id "com.palantir.jacoco-full-report" version "0.4.0"
15 id "com.github.voplex95.lesscompiler" version "1.0.3"
16 id "com.moowork.node" version "1.1.1"
17 id "com.moowork.grunt" version "1.2.0"
18 id "com.bmuschko.cargo" version "2.1"
19 id "org.jetbrains.kotlin.jvm" version "1.6.21"
20 id "org.jlleitschuh.gradle.ktlint" version "9.4.1"
21 id "io.gitlab.arturbosch.detekt" version "1.16.0"
22 id 'net.ltgt.errorprone' version "1.2.1"
23 id "nebula.lint" version "17.1.0"
24 }
25 }
26
tapchicoma
05/04/2022, 3:15 PM1.7.0-Beta
and if it is still failing - open a new issue with repro?nkiesel
05/04/2022, 4:53 PMid "org.jetbrains.kotlin.jvm" version "1.7.0-Beta"
. However, I cannot use beta versions right now. So should I stick with 1.6.0
for the time? What are the downsides of using plugin 1.6.0
with version 1.6.21
for the rest (stdlib, embeddable-compiler, reflect, ...)?tapchicoma
05/04/2022, 5:24 PM1.6.0
. We would not release 1.6.22
version, so you have to wait for final 1.7.0
releasetapchicoma
05/04/2022, 5:24 PMWhat are the downsides of using pluginTheoretically should be no downsides or issueswith version1.6.0
for the rest (stdlib, embeddable-compiler, reflect, ...)?1.6.21
nkiesel
05/04/2022, 5:25 PMnkiesel
05/04/2022, 5:26 PM1.7.0-Beta
tag in github (was curious to compare the 2 versions)tapchicoma
05/04/2022, 5:26 PMtapchicoma
05/05/2022, 12:36 PM