@@ -26,6 +26,9 @@ import org.gradle.api.provider.ListProperty
26
26
import org.gradle.api.provider.Property
27
27
import org.gradle.api.tasks.Classpath
28
28
import org.gradle.api.tasks.Internal
29
+ import org.jetbrains.kotlin.gradle.dsl.CompilerCommonOptions
30
+ import org.jetbrains.kotlin.gradle.dsl.CompilerJsOptions
31
+ import org.jetbrains.kotlin.gradle.dsl.CompilerJvmOptions
29
32
import org.jetbrains.kotlin.gradle.tasks.KotlinCompilerExecutionStrategy
30
33
import org.jetbrains.kotlin.gradle.utils.newInstance
31
34
import java.io.File
@@ -49,37 +52,54 @@ interface KotlinCompilerRunner {
49
52
50
53
interface KotlinJvmCompilerRunner : KotlinCompilerRunner {
51
54
fun runJvmCompilerAsync (
52
- args : KotlinJvmCompilerArguments ,
55
+ options : CompilerJvmOptions ,
56
+ freeArgs : List <String >,
53
57
sources : List <File >,
54
58
commonSources : List <File >,
55
- outputs : List <File >
59
+ friendPaths : List <File >,
60
+ libraries : List <File >,
61
+ outputs : List <File >,
62
+ destination : File
56
63
)
57
64
}
58
65
59
66
interface KotlinJsCompilerRunner : KotlinCompilerRunner {
60
67
fun runJsCompilerAsync (
61
- args : KotlinJsCompilerArguments ,
68
+ options : CompilerJsOptions ,
69
+ freeArgs : List <String >,
62
70
sources : List <File >,
63
71
commonSources : List <File >,
64
- outputs : List <File >
72
+ friendPaths : List <File >,
73
+ libraries : List <File >,
74
+ outputs : List <File >,
75
+ destination : File
65
76
)
66
77
}
67
78
68
79
interface KotlinMetadataCompilerRunner : KotlinCompilerRunner {
69
80
fun runMetadataCompilerAsync (
70
- args : KotlinMetadataCompilerArguments ,
81
+ options : CompilerCommonOptions ,
82
+ freeArgs : List <String >,
71
83
sources : List <File >,
72
84
commonSources : List <File >,
73
- outputs : List <File >
85
+ friendPaths : List <File >,
86
+ libraries : List <File >,
87
+ outputs : List <File >,
88
+ destination : File
74
89
)
75
90
}
76
91
77
92
interface KotlinNativeCompilerRunner : KotlinCompilerRunner {
78
93
fun runNativeCompilerAsync (
79
- args : KotlinNativeCompilerArguments ,
94
+ options : CompilerCommonOptions ,
95
+ freeArgs : List <String >,
80
96
sources : List <File >,
81
97
commonSources : List <File >,
98
+ friendPaths : List <File >,
99
+ libraries : List <File >,
82
100
outputs : List <File >,
101
+ destination : File ,
102
+ target : String
83
103
)
84
104
}
85
105
0 commit comments