callstack / react-native-slider

React Native component exposing Slider from iOS and SeekBar from Android
MIT License
1.22k stars 270 forks source link

update the targetSdk version #580

Closed Qdafengzi closed 2 months ago

Qdafengzi commented 8 months ago
  Could not determine the dependencies of task ':react-native-community_slider:bundleLibCompileToJarDebug'.
  > Could not create task ':react-native-community_slider:compileDebugJavaWithJavac'.
     > In order to compile Java 9+ source, please set compileSdkVersion to 30 or above
draggie commented 2 months ago

@Qdafengzi Im preparing the update, however if someone has this issue it can be solved temporarily like this

subprojects {
    afterEvaluate { project ->
        if (project.hasProperty("android")) {
            project.android.compileSdkVersion = 30
        }
    }
}