@@ -7,6 +7,7 @@ buildscript {
77 gradlePluginPortal()
88 }
99 dependencies {
10+ classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin:${ safeExtGet("kotlinVersion", "1.8.0")} " )
1011 classpath(" com.android.tools.build:gradle:7.3.1" )
1112 }
1213}
@@ -16,14 +17,15 @@ def isNewArchitectureEnabled() {
1617}
1718
1819apply plugin : " com.android.library"
20+ apply plugin : " kotlin-android"
1921
2022if (isNewArchitectureEnabled()) {
2123 apply plugin : " com.facebook.react"
2224}
2325
2426android {
25- buildToolsVersion safeExtGet(" buildToolsVersion" , " 33 .0.0" )
26- compileSdkVersion safeExtGet(" compileSdkVersion" , 33 )
27+ buildToolsVersion safeExtGet(" buildToolsVersion" , " 34 .0.0" )
28+ compileSdkVersion safeExtGet(" compileSdkVersion" , 34 )
2729
2830 if (project. android. hasProperty(" namespace" )) {
2931 namespace " com.zoontek.rnlocalize"
@@ -39,8 +41,8 @@ android {
3941 }
4042 defaultConfig {
4143 buildConfigField(" boolean" , " IS_NEW_ARCHITECTURE_ENABLED" , isNewArchitectureEnabled(). toString())
42- minSdkVersion safeExtGet(" minSdkVersion" , 21 )
43- targetSdkVersion safeExtGet(" targetSdkVersion" , 33 )
44+ minSdkVersion safeExtGet(" minSdkVersion" , 23 )
45+ targetSdkVersion safeExtGet(" targetSdkVersion" , 34 )
4446 }
4547 lintOptions {
4648 abortOnError false
0 commit comments