File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,7 @@ import ru.vyarus.gradle.plugin.animalsniffer.AnimalSnifferExtension
11
11
*/
12
12
13
13
// Animalsniffer setup
14
- // Animalsniffer requires java plugin to be applied, but Kotlin 1.9.20
15
- // relies on `java-base` for Kotlin Multiplatforms `withJava` implementation
16
- // https://github.com/xvik/gradle-animalsniffer-plugin/issues/84
17
- // https://youtrack.jetbrains.com/issue/KT-59595
18
14
plugins {
19
- java
20
15
id(" ru.vyarus.animalsniffer" )
21
16
}
22
17
@@ -29,19 +24,6 @@ plugins.withId("org.jetbrains.kotlin.multiplatform") {
29
24
configurations.findByName(outputConfigurationName)?.isCanBeConsumed = false
30
25
}
31
26
32
- disableJavaPluginTasks(extensions.getByName(" sourceSets" ) as SourceSetContainer )
33
- }
34
-
35
- fun Project.disableJavaPluginTasks (javaSourceSet : SourceSetContainer ) {
36
- project.tasks.withType(Jar ::class .java).named(javaSourceSet.getByName(" main" ).jarTaskName).configure {
37
- dependsOn(" jvmTest" )
38
- enabled = false
39
- }
40
-
41
- project.tasks.withType(Test ::class .java).named(JavaPlugin .TEST_TASK_NAME ) {
42
- dependsOn(" jvmJar" )
43
- enabled = false
44
- }
45
27
}
46
28
47
29
You can’t perform that action at this time.
0 commit comments