-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbuild.gradle.kts
60 lines (53 loc) · 1.83 KB
/
build.gradle.kts
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
plugins {
id("com.android.library") version "8.1.2" apply false
}
subprojects {
group = "com.github.kr328.gradle.zygote"
version = "3.1"
plugins.withId("java") {
extensions.configure<JavaPluginExtension> {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
}
plugins.withId("maven-publish") {
extensions.configure<PublishingExtension> {
repositories {
mavenLocal()
maven {
name = "kr328app"
url = uri("https://maven.kr328.app/releases")
credentials(PasswordCredentials::class.java)
}
}
publications {
withType<MavenPublication> {
pom {
name.set("ZygoteLoader")
description.set("ZygoteLoader")
url.set("https://github.com/Kr328/ZygoteLoader")
licenses {
license {
name.set("MIT License")
}
}
developers {
developer {
name.set("Kr328")
}
}
scm {
connection.set("scm:git:https://github.com/Kr328/ZygoteLoader.git")
url.set("https://github.com/Kr328/ZygoteLoader.git")
}
}
groupId = project.group.toString()
version = project.version.toString()
}
}
}
}
}
task("clean", type = Delete::class) {
delete(rootProject.buildDir)
}