RaphaelWoude / capacitor-native-settings

Capacitor plugin to open native settings screens for android and iOS
MIT License
95 stars 30 forks source link

Invalid source release: 17 #37

Closed maartenheideman closed 1 year ago

maartenheideman commented 1 year ago

I got build errors with this plugin on android. I'am using capacitor 4.

Execution failed for task ':capacitor-native-settings:compileDebugJavaWithJavac'.
> error: invalid source release: 17

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':capacitor-native-settings:compileDebugJavaWithJavac'.

Used versions:

ext {
    minSdkVersion = 22
    compileSdkVersion = 32
    targetSdkVersion = 32
    buildToolsVersion = '30.0.3'
    androidxActivityVersion = '1.4.0'
    androidxCoordinatorLayoutVersion = '1.2.0'
    androidxAppCompatVersion = '1.4.2'
    androidxCoreVersion = '1.8.0'
    androidxFragmentVersion = '1.4.1'
    coreSplashScreenVersion = '1.0.0-rc01'
    androidxWebkitVersion = '1.4.0'
    androidxMaterialVersion = '1.6.1'
    androidxBrowserVersion = '1.4.0'
    androidxExifInterfaceVersion = '1.3.3'
    firebaseMessagingVersion = '23.0.5'
    playServicesLocationVersion = '21.0.1'
    junitVersion = '4.13.2'
    androidxJunitVersion = '1.1.3'
    androidxEspressoCoreVersion = '3.4.0'
    cordovaAndroidVersion = '10.1.1'
}
maartenheideman commented 1 year ago

Found it, wrong plugin version my bad