1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00
anytype-kotlin/sample/build.gradle

67 lines
2 KiB
Groovy

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
compileSdkVersion 32
buildToolsVersion "32.0.0"
defaultConfig {
applicationId "com.anytypeio.anytype.sample"
minSdkVersion 26
targetSdkVersion 31
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
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11
}
}
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 libs.androidxCore
implementation applicationDependencies.timber
implementation applicationDependencies.fragment
implementation applicationDependencies.design
implementation applicationDependencies.pickT
//implementation 'com.github.gregcockroft:AndroidMath:ALPHA'
testImplementation unitTestDependencies.junit
testImplementation unitTestDependencies.kotlinTest
testImplementation unitTestDependencies.robolectricLatest
testImplementation unitTestDependencies.androidXTestCore
testImplementation unitTestDependencies.mockitoKotlin
}