mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-11 02:13:30 +09:00
81 lines
2.3 KiB
Groovy
81 lines
2.3 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.3"
|
|
|
|
|
|
defaultConfig {
|
|
applicationId "com.anytypeio.anytype.sample"
|
|
minSdkVersion 26
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
debug {
|
|
debuggable true
|
|
}
|
|
}
|
|
|
|
flavorDimensions 'default'
|
|
productFlavors {
|
|
stable {
|
|
dimension 'default'
|
|
}
|
|
experimental{
|
|
dimension 'default'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
def applicationDependencies = rootProject.ext.mainApplication
|
|
def unitTestDependencies = rootProject.ext.unitTesting
|
|
|
|
implementation project(':core-utils')
|
|
implementation project(':core-ui')
|
|
implementation project(':presentation')
|
|
|
|
implementation applicationDependencies.kotlin
|
|
implementation applicationDependencies.appcompat
|
|
implementation applicationDependencies.glide
|
|
implementation applicationDependencies.coroutinesAndroid
|
|
implementation applicationDependencies.constraintLayout
|
|
implementation applicationDependencies.androidxCore
|
|
implementation applicationDependencies.timber
|
|
implementation applicationDependencies.fragment
|
|
implementation applicationDependencies.design
|
|
implementation applicationDependencies.permissionDisp
|
|
implementation applicationDependencies.pickT
|
|
|
|
//implementation 'com.github.gregcockroft:AndroidMath:ALPHA'
|
|
|
|
kapt applicationDependencies.permissionDispCompiler
|
|
|
|
testImplementation unitTestDependencies.junit
|
|
testImplementation unitTestDependencies.kotlinTest
|
|
testImplementation unitTestDependencies.robolectricLatest
|
|
testImplementation unitTestDependencies.androidXTestCore
|
|
testImplementation unitTestDependencies.mockitoKotlin
|
|
}
|