Skip to content

Commit

Permalink
Remove redundant JavaLanguageVersion.of
Browse files Browse the repository at this point in the history
  • Loading branch information
LDRAlighieri committed May 24, 2024
1 parent 16b86be commit fe82d8b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ internal fun Project.configureKotlinAndroid(
val compileSdk: String by project
val minSdk: String by project

val javaLanguageVersion: JavaLanguageVersion =
JavaLanguageVersion.of(JavaLanguageVersion.of(JavaVersion.VERSION_17.majorVersion).asInt())
val javaLanguageVersion = JavaLanguageVersion.of(JavaVersion.VERSION_17.majorVersion)

extension.apply {
this.compileSdk = compileSdk.toInt()
Expand Down

0 comments on commit fe82d8b

Please sign in to comment.