File tree Expand file tree Collapse file tree 7 files changed +17
-13
lines changed Expand file tree Collapse file tree 7 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ group 'com.example.desktop_drop'
2
2
version ' 1.0-SNAPSHOT'
3
3
4
4
buildscript {
5
- ext. kotlin_version = ' 1.5.20 '
5
+ ext. kotlin_version = ' 1.9.10 '
6
6
repositories {
7
7
google()
8
8
mavenCentral()
9
9
}
10
10
11
11
dependencies {
12
- classpath ' com.android.tools.build:gradle:7.2 .2'
12
+ classpath ' com.android.tools.build:gradle:7.4 .2'
13
13
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
14
14
}
15
15
}
@@ -25,7 +25,12 @@ apply plugin: 'com.android.library'
25
25
apply plugin : ' kotlin-android'
26
26
27
27
android {
28
- compileSdkVersion 30
28
+ // Conditional for compatibility with AGP <4.2.
29
+ if (project. android. hasProperty(" namespace" )) {
30
+ namespace ' one.mixin.desktop.drop'
31
+ }
32
+
33
+ compileSdk 33
29
34
30
35
compileOptions {
31
36
sourceCompatibility JavaVersion . VERSION_1_8
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
3
zipStoreBase =GRADLE_USER_HOME
4
4
zipStorePath =wrapper/dists
5
- distributionUrl =https\://services.gradle.org/distributions/gradle-6.7 -all.zip
5
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.5 -all.zip
Original file line number Diff line number Diff line change 1
- <manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2
- package =" com.example.desktop_drop" >
3
- </manifest >
1
+ <manifest />
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
26
26
apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
27
27
28
28
android {
29
- compileSdkVersion 33
29
+ compileSdk 33
30
30
31
31
compileOptions {
32
32
sourceCompatibility JavaVersion . VERSION_1_8
@@ -45,7 +45,7 @@ android {
45
45
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
46
46
applicationId " com.example.desktop_drop_example"
47
47
minSdkVersion 16
48
- targetSdkVersion 30
48
+ targetSdkVersion 33
49
49
versionCode flutterVersionCode. toInteger()
50
50
versionName flutterVersionName
51
51
}
Original file line number Diff line number Diff line change 9
9
android : theme =" @style/LaunchTheme"
10
10
android : configChanges =" orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
11
11
android : hardwareAccelerated =" true"
12
- android : windowSoftInputMode =" adjustResize" >
12
+ android : windowSoftInputMode =" adjustResize"
13
+ android : exported =" true" >
13
14
<!-- Specifies an Android theme to apply to this Activity as soon as
14
15
the Android process has started. This theme is visible to the user
15
16
while the Flutter UI initializes. After that, this theme continues
Original file line number Diff line number Diff line change 1
1
buildscript {
2
- ext. kotlin_version = ' 1.5.20 '
2
+ ext. kotlin_version = ' 1.9.10 '
3
3
repositories {
4
4
google()
5
5
mavenCentral()
6
6
}
7
7
8
8
dependencies {
9
- classpath ' com.android.tools.build:gradle:7.2 .2'
9
+ classpath ' com.android.tools.build:gradle:7.4 .2'
10
10
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
11
11
}
12
12
}
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.3.3 -all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.5 -all.zip
You can’t perform that action at this time.
0 commit comments