-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext.gradle
33 lines (31 loc) · 954 Bytes
/
ext.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
ext.jitpackPublisher = {
afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
groupId = findProperty('groupId')
artifactId = findProperty('artifactId')
version = findProperty('versionName')
}
}
}
}
}
ext.javaConfigs = {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
}
ext.defaultDependencies = {
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
testImplementation 'io.mockk:mockk:1.13.4'
testImplementation 'io.mockk:mockk-android:1.13.3'
}