http-signature/build.gradle.kts

39 lines
775 B
Plaintext
Raw Normal View History

2023-10-16 15:09:06 +00:00
plugins {
kotlin("jvm") version "1.9.0"
id("maven-publish")
2023-10-16 15:09:06 +00:00
}
group = "dev.usbharu"
version = "1.0.0"
2023-10-16 15:09:06 +00:00
repositories {
mavenCentral()
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
2023-10-17 04:10:24 +00:00
testImplementation("org.mockito:mockito-inline:5.2.0")
2023-10-16 15:09:06 +00:00
}
tasks.test {
useJUnitPlatform()
}
kotlin {
2023-10-17 04:10:24 +00:00
jvmToolchain(11)
2023-10-16 15:09:06 +00:00
}
publishing{
repositories{
maven{
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/usbharu/http-signature")
credentials {
username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN")
}
}
}
2023-10-16 15:09:06 +00:00
}