-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
64 lines (54 loc) · 2.09 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
61
62
63
64
import com.vanniktech.maven.publish.MavenPublishBaseExtension
import com.vanniktech.maven.publish.SonatypeHost
plugins {
kotlin("jvm") version "1.8.0"
id("com.vanniktech.maven.publish.base") version "0.23.1" apply false
id("org.jetbrains.dokka") version "1.7.20"
}
allprojects {
group = "com.nicholasnassar.dslbuilder"
version = "0.0.3-SNAPSHOT"
pluginManager.withPlugin("java") {
configure<JavaPluginExtension> {
toolchain {
languageVersion.set(JavaLanguageVersion.of(16))
}
}
tasks.withType<JavaCompile>().configureEach {
options.release.set(16)
}
}
plugins.withId("com.vanniktech.maven.publish.base") {
configure<MavenPublishBaseExtension> {
publishToMavenCentral(SonatypeHost.S01, true)
signAllPublications()
pom {
name.set("DSL Builder")
description.set("A compile-time dependency that automatically generates DSLs based on annotations attached to your Kotlin classes and properties.")
inceptionYear.set("2021")
url.set("https://github.com/niccholaspage/dsl-builder/")
licenses {
license {
name.set("The Apache Software License, Version 2.0")
url.set("https://www.apache.org/licenses/LICENSE-2.0.txt")
distribution.set("repo")
}
scm {
url.set("https://github.com/niccholaspage/dsl-builder/")
connection.set("scm:git:git://github.com/niccholaspage/dsl-builder.git")
developerConnection.set("scm:git:ssh://[email protected]/niccholaspage/dsl-builder.git")
}
developers {
developer {
id.set("niccholaspage")
name.set("Nicholas Nassar")
}
}
}
}
}
}
}
repositories {
mavenCentral()
}