Skip to content

Commit 205c1a4

Browse files
committed
Merge branch 'experimental/unity_6000' into flutter_unity_widget_2-6000
2 parents c59f273 + e10960b commit 205c1a4

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
* [Android] Add namespace for Android gradle plugin (AGP) 8 compatibility.
1616
* [Android] Fix kotlin compilation error with Flutter 3.24 and newer. [#973](https://github.com/juicycleff/flutter-unity-view-widget/issues/973)
1717
* [Android] Update documentation for new `.gradle.kts` files.
18+
* [Android] Update some ancient build.gradle values to match Unity 2022.3. Like CompileSdk to 34 and Java to 11.
1819
* [iOS] Add an empty privacy manifest.
1920
* [Web] Don't crash on unknown event data from Unity.
2021
* Disable windows support in `pubspec.yaml` to avoid confusion. Windows support was never completed.

android/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
group 'com.xraph.plugin.flutter_unity_widget'
2-
version '4.0-SNAPSHOT'
2+
version '6000.0.0-SNAPSHOT'
33

44
buildscript {
5-
ext.kotlin_version = '1.6.20'
5+
ext.kotlin_version = '1.8.10'
66
repositories {
77
google()
88
mavenCentral()
99
}
1010

1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:4.1.0'
12+
classpath 'com.android.tools.build:gradle:7.4.2'
1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1414
}
1515
}
@@ -56,7 +56,7 @@ android {
5656
}
5757

5858
kotlinOptions {
59-
jvmTarget = JavaVersion.VERSION_17
59+
jvmTarget = JavaVersion.VERSION_17.toString()
6060
}
6161
}
6262

example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ android {
2323

2424
kotlinOptions {
2525
// if you change this value, also change it in android/build.gradle subprojects{}
26-
jvmTarget = JavaVersion.VERSION_17
26+
jvmTarget = JavaVersion.VERSION_17.toString()
2727
}
2828

2929
defaultConfig {

example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ subprojects {
3434
}
3535
project.android.kotlinOptions {
3636
// if you change this value, also change it in android/app/build.gradle
37-
jvmTarget = JavaVersion.VERSION_17
37+
jvmTarget = JavaVersion.VERSION_17.toString()
3838
}
3939
}
4040
}

0 commit comments

Comments
 (0)