Skip to content

Commit 97c13b2

Browse files
committed
Update to android 14
1 parent 5c751ec commit 97c13b2

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

android/app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ apply plugin: 'kotlin-android'
3232
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
3333

3434
android {
35-
compileSdkVersion 31
35+
namespace "nl.renefloor.puzzle"
36+
compileSdkVersion 34
3637

3738
compileOptions {
3839
sourceCompatibility JavaVersion.VERSION_1_8
@@ -49,8 +50,8 @@ android {
4950

5051
defaultConfig {
5152
applicationId "nl.renefloor.puzzle"
52-
minSdkVersion 16
53-
targetSdkVersion 30
53+
minSdkVersion 21
54+
targetSdkVersion 34
5455
versionCode flutterVersionCode.toInteger()
5556
versionName flutterVersionName
5657
}
@@ -83,7 +84,6 @@ android {
8384
release {
8485
signingConfig signingConfigs.release
8586
minifyEnabled true
86-
useProguard true
8787
proguardFiles getDefaultProguardFile('proguard-android.txt')
8888
}
8989
debug {

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
android:theme="@style/LaunchTheme"
1111
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1212
android:hardwareAccelerated="true"
13+
android:exported="true"
1314
android:windowSoftInputMode="adjustResize">
1415
<!-- Specifies an Android theme to apply to this Activity as soon as
1516
the Android process has started. This theme is visible to the user

android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
buildscript {
2-
ext.kotlin_version = '1.6.10'
2+
ext.kotlin_version = '1.9.21'
33
repositories {
44
google()
55
mavenCentral()
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:4.1.0'
9+
classpath 'com.android.tools.build:gradle:8.2.0'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1111
}
1212
}
@@ -24,6 +24,6 @@ subprojects {
2424
project.evaluationDependsOn(':app')
2525
}
2626

27-
task clean(type: Delete) {
27+
tasks.register("clean", Delete) {
2828
delete rootProject.buildDir
2929
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Fri Jun 23 08:50:38 CEST 2017
1+
#Mon Dec 04 20:44:16 CET 2023
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip

0 commit comments

Comments
 (0)