Skip to content

Commit b0cfdfc

Browse files
Gooolerhfmehmed
authored andcommitted
Apply Gradle's strict plugin types validation
1 parent d33901a commit b0cfdfc

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

gradle-plugin/build.gradle.kts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,9 @@ kotlin {
4646
}
4747
}
4848

49-
tasks.named("validatePlugins").configure {
50-
onlyIf {
51-
// while traversing classpath, this hits a class not found issue.
52-
// Disabled until gradle kotlin version and our kotlin version matches
53-
// java.lang.ClassNotFoundException: org/jetbrains/kotlin/compilerRunner/KotlinLogger
54-
false
55-
}
49+
tasks.validatePlugins {
50+
// TODO: https://github.com/gradle/gradle/issues/22600
51+
enableStricterValidation = true
5652
}
5753

5854
gradlePlugin {

0 commit comments

Comments
 (0)