wasabia / three_dart_jsm

Other
17 stars 29 forks source link

Build fails - Android Kotlin Gradle #20

Open ert485 opened 11 months ago

ert485 commented 11 months ago

I'm unable to build a flutter project that depends on three_dart_jsm; I'm getting this error:

$ flutter run -d "SM G988W"
Launching lib/main.dart on SM G988W in debug mode...

FAILURE: Build failed with an exception.

* What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':flutter_gl' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61

my system environment:

$ flutter --version  
Flutter 3.13.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision d211f42860 (2 weeks ago) • 2023-10-25 13:42:25 -0700
Engine • revision 0545f8705d
Tools • Dart 3.1.5 • DevTools 2.25.0
$ sw_vers                
ProductName:            macOS
ProductVersion:         14.1
BuildVersion:           23B74
ert485 commented 11 months ago

The dependency conflict is actually for flutter_gl, so this is a better spot for this issue.