[Gradle] KotlinTargetHierarchy: Change naming from 'any' to 'with' prefix
^KT-56204 Verification Pending
This commit is contained in:
committed by
Space Team
parent
8aed6d3c4c
commit
ca859c0132
@@ -1042,50 +1042,50 @@ public abstract interface class org/jetbrains/kotlin/gradle/plugin/KotlinTargetE
|
||||
}
|
||||
|
||||
public abstract interface class org/jetbrains/kotlin/gradle/plugin/KotlinTargetHierarchyBuilder {
|
||||
public abstract fun addCompilations (Lkotlin/jvm/functions/Function1;)V
|
||||
public abstract fun anyAndroid ()V
|
||||
public abstract fun anyAndroidNative ()V
|
||||
public abstract fun anyAndroidNativeArm32 ()V
|
||||
public abstract fun anyAndroidNativeArm64 ()V
|
||||
public abstract fun anyAndroidNativeX64 ()V
|
||||
public abstract fun anyAndroidNativeX86 ()V
|
||||
public abstract fun anyApple ()V
|
||||
public abstract fun anyIos ()V
|
||||
public abstract fun anyIosArm32 ()V
|
||||
public abstract fun anyIosArm64 ()V
|
||||
public abstract fun anyIosSimulatorArm64 ()V
|
||||
public abstract fun anyIosX64 ()V
|
||||
public abstract fun anyJs ()V
|
||||
public abstract fun anyJvm ()V
|
||||
public abstract fun anyLinux ()V
|
||||
public abstract fun anyLinuxArm32Hfp ()V
|
||||
public abstract fun anyLinuxArm64 ()V
|
||||
public abstract fun anyLinuxMips32 ()V
|
||||
public abstract fun anyLinuxMipsel32 ()V
|
||||
public abstract fun anyLinuxX64 ()V
|
||||
public abstract fun anyMacos ()V
|
||||
public abstract fun anyMacosArm64 ()V
|
||||
public abstract fun anyMacosX64 ()V
|
||||
public abstract fun anyMingw ()V
|
||||
public abstract fun anyMingwX64 ()V
|
||||
public abstract fun anyMingwX86 ()V
|
||||
public abstract fun anyNative ()V
|
||||
public abstract fun anyTvos ()V
|
||||
public abstract fun anyTvosArm64 ()V
|
||||
public abstract fun anyTvosSimulatorArm64 ()V
|
||||
public abstract fun anyTvosX64 ()V
|
||||
public abstract fun anyWasm32 ()V
|
||||
public abstract fun anyWatchos ()V
|
||||
public abstract fun anyWatchosArm32 ()V
|
||||
public abstract fun anyWatchosArm64 ()V
|
||||
public abstract fun anyWatchosDeviceArm64 ()V
|
||||
public abstract fun anyWatchosSimulatorArm64 ()V
|
||||
public abstract fun anyWatchosX64 ()V
|
||||
public abstract fun anyWatchosX86 ()V
|
||||
public abstract fun common (Lkotlin/jvm/functions/Function1;)V
|
||||
public abstract fun filterCompilations (Lkotlin/jvm/functions/Function1;)V
|
||||
public abstract fun group (Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V
|
||||
public abstract fun removeCompilations (Lkotlin/jvm/functions/Function1;)V
|
||||
public abstract fun withAndroid ()V
|
||||
public abstract fun withAndroidNative ()V
|
||||
public abstract fun withAndroidNativeArm32 ()V
|
||||
public abstract fun withAndroidNativeArm64 ()V
|
||||
public abstract fun withAndroidNativeX64 ()V
|
||||
public abstract fun withAndroidNativeX86 ()V
|
||||
public abstract fun withApple ()V
|
||||
public abstract fun withCompilations (Lkotlin/jvm/functions/Function1;)V
|
||||
public abstract fun withIos ()V
|
||||
public abstract fun withIosArm32 ()V
|
||||
public abstract fun withIosArm64 ()V
|
||||
public abstract fun withIosSimulatorArm64 ()V
|
||||
public abstract fun withIosX64 ()V
|
||||
public abstract fun withJs ()V
|
||||
public abstract fun withJvm ()V
|
||||
public abstract fun withLinux ()V
|
||||
public abstract fun withLinuxArm32Hfp ()V
|
||||
public abstract fun withLinuxArm64 ()V
|
||||
public abstract fun withLinuxMips32 ()V
|
||||
public abstract fun withLinuxMipsel32 ()V
|
||||
public abstract fun withLinuxX64 ()V
|
||||
public abstract fun withMacos ()V
|
||||
public abstract fun withMacosArm64 ()V
|
||||
public abstract fun withMacosX64 ()V
|
||||
public abstract fun withMingw ()V
|
||||
public abstract fun withMingwX64 ()V
|
||||
public abstract fun withMingwX86 ()V
|
||||
public abstract fun withNative ()V
|
||||
public abstract fun withTvos ()V
|
||||
public abstract fun withTvosArm64 ()V
|
||||
public abstract fun withTvosSimulatorArm64 ()V
|
||||
public abstract fun withTvosX64 ()V
|
||||
public abstract fun withWasm32 ()V
|
||||
public abstract fun withWatchos ()V
|
||||
public abstract fun withWatchosArm32 ()V
|
||||
public abstract fun withWatchosArm64 ()V
|
||||
public abstract fun withWatchosDeviceArm64 ()V
|
||||
public abstract fun withWatchosSimulatorArm64 ()V
|
||||
public abstract fun withWatchosX64 ()V
|
||||
public abstract fun withWatchosX86 ()V
|
||||
public abstract fun withoutCompilations (Lkotlin/jvm/functions/Function1;)V
|
||||
}
|
||||
|
||||
public final class org/jetbrains/kotlin/gradle/plugin/KotlinTargetHierarchyBuilder$DefaultImpls {
|
||||
|
||||
+2
-2
@@ -69,8 +69,8 @@ interface KotlinTargetHierarchyDsl {
|
||||
* targets.hierarchy.default { target ->
|
||||
* group("native") { // <- we can re-declare already existing groups and connect children to it!
|
||||
* group("unixLike") {
|
||||
* anyLinux()
|
||||
* anyApple()
|
||||
* withLinux()
|
||||
* withApple()
|
||||
* }
|
||||
* }
|
||||
* }
|
||||
|
||||
+42
-42
@@ -13,63 +13,63 @@ interface KotlinTargetHierarchyBuilder {
|
||||
fun group(name: String, build: KotlinTargetHierarchyBuilder.() -> Unit = {})
|
||||
|
||||
/* low-level APIs */
|
||||
fun addCompilations(predicate: (KotlinCompilation<*>) -> Boolean)
|
||||
fun removeCompilations(predicate: (KotlinCompilation<*>) -> Boolean)
|
||||
fun withCompilations(predicate: (KotlinCompilation<*>) -> Boolean)
|
||||
fun withoutCompilations(predicate: (KotlinCompilation<*>) -> Boolean)
|
||||
fun filterCompilations(predicate: (KotlinCompilation<*>) -> Boolean) =
|
||||
removeCompilations { !predicate(it) }
|
||||
withoutCompilations { !predicate(it) }
|
||||
|
||||
/* Convenient groups */
|
||||
fun anyNative()
|
||||
fun anyApple()
|
||||
fun anyIos()
|
||||
fun anyWatchos()
|
||||
fun anyMacos()
|
||||
fun anyTvos()
|
||||
fun anyMingw()
|
||||
fun anyLinux()
|
||||
fun anyAndroidNative()
|
||||
fun anyJs()
|
||||
fun withNative()
|
||||
fun withApple()
|
||||
fun withIos()
|
||||
fun withWatchos()
|
||||
fun withMacos()
|
||||
fun withTvos()
|
||||
fun withMingw()
|
||||
fun withLinux()
|
||||
fun withAndroidNative()
|
||||
fun withJs()
|
||||
|
||||
/* Actual targets */
|
||||
fun anyJvm()
|
||||
fun anyAndroid()
|
||||
fun anyAndroidNativeX64()
|
||||
fun anyAndroidNativeX86()
|
||||
fun anyAndroidNativeArm32()
|
||||
fun anyAndroidNativeArm64()
|
||||
fun anyIosArm32()
|
||||
fun anyIosArm64()
|
||||
fun anyIosX64()
|
||||
fun anyIosSimulatorArm64()
|
||||
fun anyWatchosArm32()
|
||||
fun anyWatchosArm64()
|
||||
fun anyWatchosX64()
|
||||
fun anyWatchosSimulatorArm64()
|
||||
fun anyWatchosDeviceArm64()
|
||||
fun anyTvosArm64()
|
||||
fun anyTvosX64()
|
||||
fun anyTvosSimulatorArm64()
|
||||
fun anyLinuxX64()
|
||||
fun anyMingwX64()
|
||||
fun anyMacosX64()
|
||||
fun anyMacosArm64()
|
||||
fun anyLinuxArm64()
|
||||
fun withJvm()
|
||||
fun withAndroid()
|
||||
fun withAndroidNativeX64()
|
||||
fun withAndroidNativeX86()
|
||||
fun withAndroidNativeArm32()
|
||||
fun withAndroidNativeArm64()
|
||||
fun withIosArm32()
|
||||
fun withIosArm64()
|
||||
fun withIosX64()
|
||||
fun withIosSimulatorArm64()
|
||||
fun withWatchosArm32()
|
||||
fun withWatchosArm64()
|
||||
fun withWatchosX64()
|
||||
fun withWatchosSimulatorArm64()
|
||||
fun withWatchosDeviceArm64()
|
||||
fun withTvosArm64()
|
||||
fun withTvosX64()
|
||||
fun withTvosSimulatorArm64()
|
||||
fun withLinuxX64()
|
||||
fun withMingwX64()
|
||||
fun withMacosX64()
|
||||
fun withMacosArm64()
|
||||
fun withLinuxArm64()
|
||||
|
||||
@Deprecated(DEPRECATED_TARGET_MESSAGE)
|
||||
fun anyWatchosX86()
|
||||
fun withWatchosX86()
|
||||
|
||||
@Deprecated(DEPRECATED_TARGET_MESSAGE)
|
||||
fun anyMingwX86()
|
||||
fun withMingwX86()
|
||||
|
||||
@Deprecated(DEPRECATED_TARGET_MESSAGE)
|
||||
fun anyLinuxArm32Hfp()
|
||||
fun withLinuxArm32Hfp()
|
||||
|
||||
@Deprecated(DEPRECATED_TARGET_MESSAGE)
|
||||
fun anyLinuxMips32()
|
||||
fun withLinuxMips32()
|
||||
|
||||
@Deprecated(DEPRECATED_TARGET_MESSAGE)
|
||||
fun anyLinuxMipsel32()
|
||||
fun withLinuxMipsel32()
|
||||
|
||||
@Deprecated(DEPRECATED_TARGET_MESSAGE)
|
||||
fun anyWasm32()
|
||||
fun withWasm32()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user