noise/app/build.gradle

89 lines
2.4 KiB
Groovy
Raw Permalink Normal View History

2021-06-28 15:21:19 +02:00
plugins {
id 'com.android.application'
id 'kotlin-android'
2021-12-20 08:44:27 +01:00
id("com.apollographql.apollo3").version("3.0.0")
2021-06-28 15:21:19 +02:00
}
2021-12-20 08:44:27 +01:00
2021-06-28 15:21:19 +02:00
android {
2021-12-13 15:00:46 +01:00
compileSdk 31
2021-06-28 15:21:19 +02:00
defaultConfig {
2021-12-13 15:00:46 +01:00
applicationId "org.ddnss.sfs.git.wdg.test"
minSdk 24
targetSdk 31
2021-06-28 15:21:19 +02:00
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
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
}
}
2021-12-20 08:44:27 +01:00
apollo {
packageName.set("org.ddnss.sfs.git.wdg.noise")
}
2021-06-28 15:21:19 +02:00
dependencies {
2021-12-13 15:00:46 +01:00
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.0'
2021-07-11 12:12:08 +02:00
implementation 'com.google.android.material:material:1.4.0'
2021-12-13 15:00:46 +01:00
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.4.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0'
2021-06-28 15:21:19 +02:00
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.5'
implementation 'androidx.navigation:navigation-ui-ktx:2.3.5'
2021-12-13 15:00:46 +01:00
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}
dependencies {
2022-01-16 17:41:05 +01:00
def room_version = "2.4.1"
2021-12-13 15:00:46 +01:00
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
// optional - RxJava2 support for Room
implementation "androidx.room:room-rxjava2:$room_version"
// optional - RxJava3 support for Room
implementation "androidx.room:room-rxjava3:$room_version"
// optional - Guava support for Room, including Optional and ListenableFuture
implementation "androidx.room:room-guava:$room_version"
// optional - Test helpers
testImplementation "androidx.room:room-testing:$room_version"
// optional - Paging 3 Integration
2022-01-16 17:41:05 +01:00
implementation "androidx.room:room-paging:$room_version"
2021-12-13 15:00:46 +01:00
}
dependencies {
2021-12-20 08:44:27 +01:00
// ...
implementation("com.apollographql.apollo3:apollo-runtime:3.0.0")
}
2021-12-13 15:00:46 +01:00