Skip to content

Commit f887355

Browse files
authored
Merge pull request #212 from Piwigo/Gradle-fix
Gradle Maintenance
2 parents 570ff11 + d958eda commit f887355

4 files changed

Lines changed: 9 additions & 6 deletions

File tree

android/.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@ key.properties
1313

1414
# Remove AGP temp files
1515
/.idea/
16-
/build/
16+
/build/
17+
18+
# Gradle build files
19+
/app/build/

android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ android {
3737
multiDexEnabled true
3838
applicationId "com.piwigo.piwigo_ng"
3939
minSdkVersion 21
40-
targetSdkVersion 34
40+
targetSdkVersion 36
4141
versionCode = flutter.versionCode
4242
versionName = flutter.versionName
4343
}

android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ allprojects {
55
}
66
}
77

8-
rootProject.buildDir = '../build'
8+
rootProject.layout.buildDirectory.dir('../build')
99
subprojects {
10-
project.buildDir = "${rootProject.buildDir}/${project.name}"
10+
project.layout.buildDirectory.map {it.dir("${project.name}")}
1111
project.evaluationDependsOn(':app')
1212
}
1313

1414
tasks.register("clean", Delete) {
15-
delete rootProject.buildDir
15+
delete rootProject.layout.buildDirectory
1616
}

android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pluginManagement {
1818

1919
plugins {
2020
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
21-
id "com.android.application" version '8.9.1' apply false
21+
id "com.android.application" version '8.9.2' apply false
2222
id "org.jetbrains.kotlin.android" version "2.0.21" apply false
2323
}
2424

0 commit comments

Comments
 (0)