-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (44 loc) · 1.25 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
plugins {
alias libs.plugins.android apply false
alias libs.plugins.kotlin.android apply false
alias libs.plugins.kotlin.jvm apply false
alias libs.plugins.conventions
}
subprojects {
group = 'xyz.tynn.hoppa'
repositories {
google()
mavenCentral()
}
plugins.withId('com.android.library') {
project.apply plugin: 'maven-publish'
java.toolchain {
languageVersion.set JavaLanguageVersion.of(17)
}
}
plugins.withId('org.jetbrains.kotlin.jvm') {
project.apply plugin: 'maven-publish'
}
plugins.withId('xyz.tynn.convention.kotlin') {
kotlin.explicitApi()
dependencies.testImplementation libs.mockk
}
plugins.withId('maven-publish') {
publishing.publications.all {
pom {
developers {
developer {
id = 'tynn'
name = 'Christian Schmitz'
}
}
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'https://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
}
}
}
}