Skip to content

Commit

Permalink
cleanup build file
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 committed Nov 16, 2024
1 parent 81451cd commit c2a582d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
14 changes: 1 addition & 13 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ android {
}

kotlinOptions {
jvmTarget = "1.8"
jvmTarget = JavaVersion.VERSION_1_8.toString()
}

sourceSets {
Expand All @@ -50,20 +50,8 @@ android {
applicationId "com.codel1417.tailApp"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
minSdkVersion 21
targetSdkVersion rootProject.ext.targetSdkVersion
ndk {
jobs = Runtime.runtime.availableProcessors()
}

externalNativeBuild {
ndkBuild {
arguments "-j" + Runtime.runtime.availableProcessors()
}
}
}
signingConfigs {
release {
Expand Down
4 changes: 4 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ext {
compileSdkVersion = 35
targetSdkVersion = 35
minSdkVersion = 21
appCompatVersion = "1.7.0"
}

Expand All @@ -20,6 +21,9 @@ subprojects {
project.android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion "34.0.0"
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
}
}
}
}
Expand Down

0 comments on commit c2a582d

Please sign in to comment.