Skip to content

Commit

Permalink
fix gradle build
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangchungk53qx1 committed Aug 27, 2023
1 parent 5f8f641 commit b33349f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
14 changes: 7 additions & 7 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ plugins {
}

android {
compileSdk 34
compileSdk 33

defaultConfig {
applicationId "vn.chungha.flow_bus"
minSdk 21
targetSdk 34
versionCode 1
versionName "1.0.4"
targetSdk 33
versionCode 1005
versionName "1.0.5"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand All @@ -28,11 +28,11 @@ android {
viewBinding true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '11'
freeCompilerArgs = ['-opt-in=kotlin.RequiresOptIn']
}
}
Expand Down
6 changes: 3 additions & 3 deletions flow_bus_core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '11'
freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
}
kotlin.sourceSets.all {
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ kotlin.code.style=official
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.disableAutomaticComponentCreation=true

GROUP=io.github.hoangchungk53qx1
POM_ARTIFACT_ID=flow-bus
Expand Down

0 comments on commit b33349f

Please sign in to comment.