RustAssistant/assistantCoreLibrary/build.gradle

53 lines
1.5 KiB
Groovy
Raw Normal View History

2022-04-04 14:03:10 +00:00
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'kotlin-kapt'
}
android {
2022-07-05 14:50:53 +00:00
compileSdk 32
2022-04-04 14:03:10 +00:00
defaultConfig {
minSdk 21
2022-07-05 14:50:53 +00:00
targetSdk 32
2022-04-04 14:03:10 +00:00
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
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 {
jvmTarget = '1.8'
}
buildFeatures {
viewBinding true
}
2022-05-14 00:19:30 +00:00
namespace 'com.coldmint.rust.core'
2022-04-04 14:03:10 +00:00
kapt.includeCompileClasspath = false
}
dependencies {
implementation 'com.google.code.gson:gson:2.8.8'
implementation "com.squareup.okhttp3:mockwebserver:4.9.1"
2022-04-04 14:03:10 +00:00
implementation "androidx.room:room-runtime:2.4.0"
//注释处理器加上Room
annotationProcessor "androidx.room:room-compiler:2.4.0"
kapt "androidx.room:room-compiler:2.4.0"
2022-08-19 06:51:28 +00:00
implementation 'androidx.appcompat:appcompat:1.5.0'
implementation 'com.google.android.material:material:1.7.0-beta01'
2022-04-04 14:03:10 +00:00
implementation 'com.afollestad.material-dialogs:bottomsheets:3.3.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
2022-08-19 06:51:28 +00:00
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
2022-04-04 14:03:10 +00:00
}