-
-
Notifications
You must be signed in to change notification settings - Fork 980
/
build.gradle
71 lines (58 loc) · 1.89 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
62
63
64
65
66
67
68
69
70
71
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
namespace 'ja.burhanrashid52.photoeditor'
compileSdkVersion 33
defaultConfig {
minSdkVersion 21
targetSdkVersion 33
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
testOptions {
unitTests {
includeAndroidResources = true
}
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
options.addStringOption('charSet', 'UTF-8')
failOnError false
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation "androidx.core:core-ktx:1.9.0"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4'
testImplementation 'androidx.test:core-ktx:1.5.0'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.robolectric:robolectric:4.9.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
// Mockito
testImplementation 'org.mockito:mockito-core:5.1.1'
androidTestImplementation 'org.mockito:mockito-android:5.1.1'
}
ext {
PUBLISH_GROUP_ID = 'com.burhanrashid52'
PUBLISH_VERSION = '3.0.2'
PUBLISH_ARTIFACT_ID = 'photoeditor'
}
apply from: "${rootProject.projectDir}/scripts/publish-mavencentral.gradle"
repositories {
mavenCentral()
}