70 lines
2.4 KiB
Groovy
70 lines
2.4 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion "29.0.2"
|
|
defaultConfig {
|
|
applicationId "hu.yvan.smsproxy"
|
|
minSdkVersion 28
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
javaCompileOptions {
|
|
annotationProcessorOptions {
|
|
arguments = [
|
|
"room.schemaLocation" : "$projectDir/schemas".toString(),
|
|
"room.incremental" : "true",
|
|
"room.expandProjection": "true"]
|
|
}
|
|
}
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
def room_version = "2.2.0-alpha02"
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation 'androidx.appcompat:appcompat:1.0.2'
|
|
implementation 'androidx.core:core-ktx:1.0.2'
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
implementation 'androidx.preference:preference:1.1.0-rc01'
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
implementation 'androidx.recyclerview:recyclerview:1.0.0'
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'androidx.test:runner:1.2.0'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
|
|
implementation 'org.greenrobot:eventbus:3.1.1'
|
|
|
|
// implementation 'khttp:khttp:0.1.0'
|
|
implementation 'io.karn:khttp-android:0.1.2'
|
|
|
|
implementation "androidx.room:room-runtime:$room_version"
|
|
kapt "androidx.room:room-compiler:$room_version"
|
|
|
|
// optional - Kotlin Extensions and Coroutines support for Room
|
|
implementation "androidx.room:room-ktx:$room_version"
|
|
|
|
// optional - RxJava support for Room
|
|
///implementation "androidx.room:room-rxjava2:$room_version"
|
|
|
|
// optional - Guava support for Room, including Optional and ListenableFuture
|
|
//implementation "androidx.room:room-guava:$room_version"
|
|
|
|
// Test helpers
|
|
//testImplementation "androidx.room:room-testing:$room_version"
|
|
}
|