瀏覽代碼

[flutter] Fix incompatibility with Gradle 8.x, closes #2553

Mario Zechner 1 年之前
父節點
當前提交
18c1f69459

+ 3 - 0
spine-flutter/CHANGELOG.md

@@ -1,3 +1,6 @@
+# 4.2.28
+- Fix incompatibility with Gradle 8.x. See https://github.com/EsotericSoftware/spine-runtimes/issues/2553
+
 # 4.2.27
 - Fixes clipping in case of colinear clipping edges.
 

+ 2 - 0
spine-flutter/android/build.gradle

@@ -25,6 +25,8 @@ rootProject.allprojects {
 apply plugin: 'com.android.library'
 
 android {
+    namespace "com.esotericsoftware.spine.flutter"
+
     // Bumping the plugin compileSdkVersion requires all clients of this plugin
     // to bump the version in their app.
     compileSdkVersion 31

+ 1 - 1
spine-flutter/android/src/main/AndroidManifest.xml

@@ -1,3 +1,3 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
-  package="com.example.spine_flutter">
+  package="com.esotericsoftware.spine.flutter">
 </manifest>