-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
67 lines (59 loc) · 1.58 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
plugins {
id 'com.android.library' version '8.1.2' apply true
id 'org.jetbrains.kotlin.android' version '1.9.22' apply true
id 'maven-publish'
id 'signing'
}
group = 'com.github.darwinmorocho-deuna'
android {
namespace 'com.deuna.maven'
compileSdk 32
defaultConfig {
minSdk 22
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
buildFeatures {
viewBinding true
}
}
tasks.withType(Sign).configureEach {
enabled = false
}
dependencies {
api 'com.squareup.okhttp3:okhttp:4.12.0'
api 'com.squareup.retrofit2:retrofit:2.9.0'
api 'com.squareup.okhttp3:logging-interceptor:4.12.0'
api 'com.squareup.retrofit2:converter-gson:2.9.0'
testImplementation 'junit:junit:4.13.2'
implementation("com.google.code.gson:gson") {
version {
strictly("2.8.9")
}
}
}
afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
groupId 'com.github.darwinmorocho-deuna'
artifactId 'deunasdk'
version '2.5.0-beta4'
}
}
}
}