-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
44 lines (38 loc) · 954 Bytes
/
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
plugins {
`kotlin-dsl`
`maven-publish`
`java-gradle-plugin`
}
group = "sh.miles.pineapplekit"
version = "1.0.0-SNAPSHOT"
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
implementation(libs.kotlin.jvm)
implementation(libs.shadow)
}
gradlePlugin {
val pineappleKit by plugins.creating {
id = "sh.miles.pineapplekit"
implementationClass = "sh.miles.pineapplekit.PineappleKitPlugin"
displayName = "PineappleKit"
description = "A gradle plugin for easily setting up pineapple"
}
}
publishing {
repositories {
maven("https://maven.miles.sh/pineapple") {
credentials {
this.username = System.getenv("PINEAPPLE_REPOSILITE_USERNAME")
this.password = System.getenv("PINEAPPLE_REPOSILITE_PASSWORD")
}
}
}
}