-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
61 lines (48 loc) 路 1.41 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
plugins {
id "com.android.library"
id "kotlin-android"
}
android {
namespace "com.colovaria.image_engine"
compileSdk compile_sdk
defaultConfig {
minSdk min_sdk
targetSdk target_sdk
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
}
}
publishing {
singleVariant("release") {
withSourcesJar()
withJavadocJar()
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = "11"
}
}
dependencies {
// kotlin
implementation "androidx.core:core-ktx:$ktx_core_version"
// colovaria
implementation project(":geometry")
implementation project(":graphics")
// tests
testImplementation "junit:junit:$junit_version"
// android tests
androidTestImplementation "com.google.truth:truth:$google_truth_version"
androidTestImplementation "androidx.test.ext:junit:$android_junit_version"
androidTestImplementation "androidx.test.espresso:espresso-core:$espresso_core_version"
}
ext.publish_type="android"
apply from: "../publish.gradle"