Skip to content

Commit

Permalink
app: fix no found :common:ui
Browse files Browse the repository at this point in the history
  • Loading branch information
lingqiqi5211 committed Apr 19, 2024
1 parent 2fd9676 commit 908cdfc
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions common/ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,28 @@ android {
namespace 'com.fan.common'
compileSdk 34

defaultConfig {
minSdk 33

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}

buildTypes.configureEach {
consumerProguardFiles "proguard-rules.pro"
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
beta {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
canary {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_19
targetCompatibility JavaVersion.VERSION_19
sourceCompatibility JavaVersion.VERSION_21
targetCompatibility JavaVersion.VERSION_21
}
}

Expand Down

0 comments on commit 908cdfc

Please sign in to comment.