12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- apply plugin: 'com.android.library'
- apply plugin: 'kotlin-android'
- android {
- compileSdkVersion versions.compileSdk
- buildToolsVersion versions.buildToolsVersion
- defaultConfig {
- minSdkVersion versions.minSdk
- targetSdkVersion versions.targetSdk
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles 'consumer-rules.pro'
- vectorDrawables.useSupportLibrary = true
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- freeCompilerArgs = ['-Xjvm-default=enable']
- jvmTarget = JavaVersion.VERSION_1_8
- }
- lintOptions {
- checkReleaseBuilds false
- }
- dexOptions {
- preDexLibraries true
- maxProcessCount 8
- }
- }
- configurations.all {
- resolutionStrategy.force 'androidx.activity:activity:1.1.0'
- resolutionStrategy.force 'androidx.core:core:1.2.0'
- resolutionStrategy.force 'androidx.fragment:fragment:1.2.0'
- resolutionStrategy.force 'androidx.multidex:multidex:2.0.1'
- resolutionStrategy.force 'androidx.transition:transition:1.3.1'
- resolutionStrategy.force 'androidx.arch.core:core-common:2.1.0'
- resolutionStrategy.force 'androidx.arch.core:core-runtime:2.1.0'
- resolutionStrategy.force 'androidx.lifecycle:lifecycle-livedata:2.2.0'
- resolutionStrategy.force 'androidx.lifecycle:lifecycle-livedata-core:2.2.0'
- }
- dependencies {
- api fileTree(dir: 'libs', include: ['*.jar'])
- api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- //组件路由模块
- api 'io.github.prototypez:app-joint-core:1.7'
- }
|