lcuis / search_choices

Widget to let the user search through a keyword string typed on a customizable keyboard in a single or multiple choices list presented as a dropdown in a dialog box or a menu.
MIT License
49 stars 40 forks source link

Upgrade to latest gradle version #125

Closed blue492 closed 2 days ago

blue492 commented 2 months ago

I got errors when I upgraded to latest gradle version in this path android/gradle/wrapper/gradle-wrapper.properties

distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip

I couldn't run my app and here are errors:

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':search_choices:compileDebugKotlin'.
> Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'compileDebugKotlin' (17).

  Consider using JVM Toolchain: https://kotl.in/gradle/jvm/toolchain
  Learn more about JVM-target validation: https://kotl.in/gradle/jvm/target-validation 

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 1m 22s
Error: Gradle task assembleDebug failed with exit code 1

Right now this 7.6 works: distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip

Please support latest gradle versions too https://gradle.org/releases/

lcuis commented 2 days ago

Hi @blue492 ,

Sorry for the delay.

I believe release 2.2.8 and 2.2.9 will address this issue. If not, please reopen. Thanks!