Skip to content

Commit

Permalink
🐛 fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
niuhuan committed Sep 6, 2024
1 parent e4916ac commit f8546ed
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion compatible/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {

android {
namespace = "opensource.pikapika"
compileSdk = 31 // flutter.compileSdkVersion
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion

compileOptions {
Expand Down
9 changes: 9 additions & 0 deletions compatible/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ subprojects {
}
subprojects {
project.evaluationDependsOn(":app")
afterEvaluate { project ->
if (project.plugins.hasPlugin("com.android.application") ||
project.plugins.hasPlugin("com.android.library")) {
project.android {
compileSdkVersion 34
buildToolsVersion "34.0.0"
}
}
}
}

tasks.register("clean", Delete) {
Expand Down

0 comments on commit f8546ed

Please sign in to comment.