blob: 5dad4e214fe8387e3a6a83e82854e9eb04760ad2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.kotlin.idea.projectModel
interface KotlinCompilation : KotlinComponent {
@Deprecated("Use allSourceSets or declaredSourceSets instead", ReplaceWith("declaredSourceSets"))
val sourceSets: Collection<KotlinSourceSet>
get() = declaredSourceSets
/**
* All source sets participated in this compilation, including those available
* via dependsOn.
*/
val allSourceSets: Collection<KotlinSourceSet>
/**
* Only directly declared source sets of this compilation, i.e. those which are included
* into compilations directly.
*
* Usually, those are automatically created source sets for automatically created
* compilations (like jvmMain for JVM compilations) or manually included source sets
* (like 'jvm().compilations["main"].source(mySourceSet)' )
*/
val declaredSourceSets: Collection<KotlinSourceSet>
val output: KotlinCompilationOutput
@Suppress("DEPRECATION_ERROR")
@Deprecated(
"Raw compiler arguments are not available anymore",
ReplaceWith("cachedArgsInfo#currentCompilerArguments or cachedArgsInfo#defaultCompilerArguments"),
level = DeprecationLevel.ERROR
)
val arguments: KotlinCompilationArguments
@Deprecated(
"Raw dependency classpath is not available anymore",
ReplaceWith("cachedArgsInfo#dependencyClasspath"),
level = DeprecationLevel.ERROR
)
val dependencyClasspath: Array<String>
val cachedArgsInfo: CachedArgsInfo<*>
val disambiguationClassifier: String?
val platform: KotlinPlatform
val kotlinTaskProperties: KotlinTaskProperties
val nativeExtensions: KotlinNativeCompilationExtensions?
companion object {
const val MAIN_COMPILATION_NAME = "main"
const val TEST_COMPILATION_NAME = "test"
}
}
|