File tree Expand file tree Collapse file tree 4 files changed +12
-7
lines changed Expand file tree Collapse file tree 4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ apply plugin: 'com.android.library'
33
33
apply plugin : ' kotlin-android'
34
34
35
35
android {
36
- compileSdkVersion 29
36
+ compileSdkVersion 34
37
37
38
38
// backwards compatible for old gradle versions without namespace
39
39
if (project. android. hasProperty(" namespace" )) {
@@ -44,15 +44,15 @@ android {
44
44
main. java. srcDirs + = ' src/main/kotlin'
45
45
}
46
46
defaultConfig {
47
- minSdkVersion 19
47
+ minSdkVersion 23
48
48
}
49
49
lintOptions {
50
50
disable ' InvalidPackage'
51
51
}
52
52
53
53
compileOptions {
54
- sourceCompatibility 1.8
55
- targetCompatibility 1.8
54
+ sourceCompatibility JavaVersion . VERSION_17
55
+ targetCompatibility JavaVersion . VERSION_17
56
56
}
57
57
}
58
58
Original file line number Diff line number Diff line change @@ -30,6 +30,11 @@ android {
30
30
31
31
namespace ' com.xraph.plugin.flutter_unity_widget_example'
32
32
33
+ compileOptions {
34
+ sourceCompatibility JavaVersion . VERSION_17
35
+ targetCompatibility JavaVersion . VERSION_17
36
+ }
37
+
33
38
sourceSets {
34
39
main. java. srcDirs + = ' src/main/kotlin'
35
40
}
Original file line number Diff line number Diff line change 1
1
buildscript {
2
- ext. kotlin_version = ' 1.8.22 '
2
+ ext. kotlin_version = ' 1.9.10 '
3
3
repositories {
4
4
google()
5
5
mavenCentral()
6
6
}
7
7
8
8
dependencies {
9
9
// Unity recommended gradle version https://docs.unity3d.com/Manual/android-gradle-overview.html (higher versions do often work)
10
- classpath ' com.android.tools.build:gradle:7.1.2 '
10
+ classpath ' com.android.tools.build:gradle:8.3.0 '
11
11
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
12
12
}
13
13
}
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.2-all .zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.4-bin .zip
You can’t perform that action at this time.
0 commit comments