mirror of
https://github.com/k0shk0sh/FastHub.git
synced 2025-12-08 19:05:54 +00:00
70 lines
1.8 KiB
Groovy
70 lines
1.8 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-kapt'
|
|
apply plugin: 'com.apollographql.android'
|
|
|
|
|
|
android {
|
|
def conf = rootProject.ext.android
|
|
|
|
compileSdkVersion conf.compileSdkVersion
|
|
|
|
defaultConfig {
|
|
minSdkVersion conf.minSdkVersion
|
|
targetSdkVersion conf.targetSdkVersion
|
|
versionCode conf.versionCode
|
|
versionName conf.versionName
|
|
multiDexEnabled
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
javaCompileOptions {
|
|
annotationProcessorOptions {
|
|
includeCompileClasspath = true
|
|
}
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
apollo {
|
|
customTypeMapping = [
|
|
"URI" : "java.net.URI",
|
|
"DateTime": "java.util.Date",
|
|
"Object": "java.lang.String"
|
|
]
|
|
useJavaBeansSemanticNaming = true
|
|
}
|
|
|
|
dependencies {
|
|
def dependency = rootProject.ext
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation project(':domain')
|
|
implementation project(':resources')
|
|
implementation project(':extensions')
|
|
implementation dependency.kotlin
|
|
implementation dependency.networking
|
|
implementation dependency.extrasLibraries
|
|
implementation dependency.rxJava
|
|
implementation dependency.dagger
|
|
implementation dependency.archs
|
|
debugImplementation dependency.developmentDependencies
|
|
releaseImplementation dependency.releaseDevelopmentDependencies
|
|
|
|
testImplementation dependency.testing
|
|
|
|
kapt dependency.processing
|
|
|
|
}
|