File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ object Java9Modularity {
3636 val ideaActive = System .getProperty(" idea.active" ) == " true"
3737 if (disableJPMS || ideaActive) return
3838 val kotlin = extensions.findByType<KotlinProjectExtension >() ? : return
39- val jvmTargets = kotlin.targets.filter { it is KotlinJvmTarget || it is KotlinWithJavaTarget <* , * > }
39+ @Suppress( " DEPRECATION " , " DEPRECATION_ERROR " ) val jvmTargets = kotlin.targets.filter { it is KotlinJvmTarget || it is KotlinWithJavaTarget <* , * > }
4040 if (jvmTargets.isEmpty()) {
4141 logger.warn(" No Kotlin JVM targets found, can't configure compilation of module-info!" )
4242 }
@@ -50,6 +50,7 @@ object Java9Modularity {
5050 }
5151
5252 target.compilations.forEach { compilation ->
53+ @Suppress(" DEPRECATION" , " DEPRECATION_ERROR" )
5354 val compileKotlinTask = compilation.compileKotlinTask as KotlinCompile
5455 val defaultSourceSet = compilation.defaultSourceSet
5556
You can’t perform that action at this time.
0 commit comments