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'
22version ' 1.0-SNAPSHOT'
33
44buildscript {
5- ext. kotlin_version = ' 1.5.20 '
5+ ext. kotlin_version = ' 1.9.10 '
66 repositories {
77 google()
88 mavenCentral()
99 }
1010
1111 dependencies {
12- classpath ' com.android.tools.build:gradle:7.2 .2'
12+ classpath ' com.android.tools.build:gradle:7.4 .2'
1313 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1414 }
1515}
@@ -25,7 +25,12 @@ apply plugin: 'com.android.library'
2525apply plugin : ' kotlin-android'
2626
2727android {
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
2934
3035 compileOptions {
3136 sourceCompatibility JavaVersion . VERSION_1_8
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22distributionPath =wrapper/dists
33zipStoreBase =GRADLE_USER_HOME
44zipStorePath =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'
2626apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
2727
2828android {
29- compileSdkVersion 33
29+ compileSdk 33
3030
3131 compileOptions {
3232 sourceCompatibility JavaVersion . VERSION_1_8
@@ -45,7 +45,7 @@ android {
4545 // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4646 applicationId " com.example.desktop_drop_example"
4747 minSdkVersion 16
48- targetSdkVersion 30
48+ targetSdkVersion 33
4949 versionCode flutterVersionCode. toInteger()
5050 versionName flutterVersionName
5151 }
Original file line number Diff line number Diff line change 99 android : theme =" @style/LaunchTheme"
1010 android : configChanges =" orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1111 android : hardwareAccelerated =" true"
12- android : windowSoftInputMode =" adjustResize" >
12+ android : windowSoftInputMode =" adjustResize"
13+ android : exported =" true" >
1314 <!-- Specifies an Android theme to apply to this Activity as soon as
1415 the Android process has started. This theme is visible to the user
1516 while the Flutter UI initializes. After that, this theme continues
Original file line number Diff line number Diff line change 11buildscript {
2- ext. kotlin_version = ' 1.5.20 '
2+ ext. kotlin_version = ' 1.9.10 '
33 repositories {
44 google()
55 mavenCentral()
66 }
77
88 dependencies {
9- classpath ' com.android.tools.build:gradle:7.2 .2'
9+ classpath ' com.android.tools.build:gradle:7.4 .2'
1010 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1111 }
1212}
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =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