Remove experimental Kotlin API version declaration
This commit is contained in:
1 parent
93c2e6d171
commit
645a014c3b
5 files changed
+5
-20
No files matched your search
Generated
+3
-3
@@ -7,10 +7,10 @@
|
|||||||
<option name="jvmTarget" value="1.8" />
|
<option name="jvmTarget" value="1.8" />
|
||||||
</component>
|
</component>
|
||||||
<component name="KotlinCommonCompilerArguments">
|
<component name="KotlinCommonCompilerArguments">
|
||||||
<option name="apiVersion" value="2.3" />
|
<option name="apiVersion" value="2.2" />
|
||||||
<option name="languageVersion" value="2.3" />
|
<option name="languageVersion" value="2.2" />
|
||||||
</component>
|
</component>
|
||||||
<component name="KotlinJpsPluginSettings">
|
<component name="KotlinJpsPluginSettings">
|
||||||
<option name="version" value="2.2.0-RC3" />
|
<option name="version" value="2.2.0" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
||||||
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.android.application)
|
alias(libs.plugins.android.application)
|
||||||
@@ -45,13 +44,9 @@ android {
|
|||||||
}
|
}
|
||||||
kotlin {
|
kotlin {
|
||||||
compilerOptions {
|
compilerOptions {
|
||||||
apiVersion = KotlinVersion.KOTLIN_2_3
|
|
||||||
languageVersion = KotlinVersion.KOTLIN_2_3
|
|
||||||
jvmTarget = JvmTarget.JVM_21
|
jvmTarget = JvmTarget.JVM_21
|
||||||
freeCompilerArgs.addAll(
|
freeCompilerArgs.addAll(
|
||||||
"-jvm-default=no-compatibility",
|
"-jvm-default=no-compatibility"
|
||||||
"-Xcontext-parameters",
|
|
||||||
"-Xcontext-sensitive-resolution",
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
||||||
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.android.application)
|
alias(libs.plugins.android.application)
|
||||||
@@ -45,13 +44,9 @@ android {
|
|||||||
}
|
}
|
||||||
kotlin {
|
kotlin {
|
||||||
compilerOptions {
|
compilerOptions {
|
||||||
apiVersion = KotlinVersion.KOTLIN_2_3
|
|
||||||
languageVersion = KotlinVersion.KOTLIN_2_3
|
|
||||||
jvmTarget = JvmTarget.JVM_21
|
jvmTarget = JvmTarget.JVM_21
|
||||||
freeCompilerArgs.addAll(
|
freeCompilerArgs.addAll(
|
||||||
"-jvm-default=no-compatibility",
|
"-jvm-default=no-compatibility",
|
||||||
"-Xcontext-parameters",
|
|
||||||
"-Xcontext-sensitive-resolution",
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
||||||
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.android.library)
|
alias(libs.plugins.android.library)
|
||||||
@@ -30,13 +29,9 @@ android {
|
|||||||
}
|
}
|
||||||
kotlin {
|
kotlin {
|
||||||
compilerOptions {
|
compilerOptions {
|
||||||
apiVersion = KotlinVersion.KOTLIN_2_3
|
|
||||||
languageVersion = KotlinVersion.KOTLIN_2_3
|
|
||||||
jvmTarget = JvmTarget.JVM_21
|
jvmTarget = JvmTarget.JVM_21
|
||||||
freeCompilerArgs.addAll(
|
freeCompilerArgs.addAll(
|
||||||
"-jvm-default=no-compatibility",
|
"-jvm-default=no-compatibility"
|
||||||
"-Xcontext-parameters",
|
|
||||||
"-Xcontext-sensitive-resolution",
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Reference in new issue
Block a user