File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
plugins/dataframe-gradle-plugin Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change
1
+ import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet
2
+
1
3
plugins {
2
4
`kotlin- dsl`
3
5
`java- gradle- plugin`
@@ -104,13 +106,13 @@ tasks.withType<JavaCompile>().all {
104
106
}
105
107
106
108
sourceSets {
109
+ val main by getting
110
+ val test by getting
111
+ val testRuntimeClasspath by configurations
107
112
create(" integrationTest" ) {
108
- withConvention(org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet ::class ) {
109
- kotlin.srcDir(" src/integrationTest/kotlin" )
110
- resources.srcDir(" src/integrationTest/resources" )
111
- compileClasspath + = sourceSets[" main" ].output + sourceSets[" test" ].output + configurations[" testRuntimeClasspath" ]
112
- runtimeClasspath + = output + compileClasspath + sourceSets[" test" ].runtimeClasspath
113
- }
113
+ kotlin.srcDir(" src/integrationTest/kotlin" )
114
+ compileClasspath + = main.output + test.output + testRuntimeClasspath
115
+ runtimeClasspath + = output + compileClasspath + test.runtimeClasspath
114
116
}
115
117
}
116
118
You can’t perform that action at this time.
0 commit comments