-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
49 lines (42 loc) · 1.34 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
plugins {
`kotlin-dsl`
alias(libs.plugins.kotlin)
id("java-gradle-plugin")
id("com.gradle.plugin-publish") version "1.2.1"
id("maven-publish")
alias(libs.plugins.kover)
}
val pluginDescription = "Plugin that helps you publish to the Central Portal (https://central.sonatype.org/)"
gradlePlugin {
website = "https://github.com/tddworks/central-portal-publisher"
vcsUrl = "https://github.com/tddworks/central-portal-publisher"
plugins {
create("central-portal-publisher") {
id = "com.tddworks.central-portal-publisher"
this.displayName = "central-portal-publisher"
this.description = pluginDescription
tags = listOf("sonatype", "publish", "portal", "maven-central", "kmp")
implementationClass = "com.tddworks.sonatype.publish.portal.plugin.SonatypePortalPublisherPlugin"
}
}
}
kotlin {
jvmToolchain(11)
}
dependencies {
implementation("com.squareup.okio:okio:3.9.0")
implementation("com.squareup.okhttp3:okhttp:4.12.0")
implementation("com.squareup.okhttp3:logging-interceptor:4.12.0")
testImplementation(libs.bundles.jvm.test)
testImplementation("uk.org.webcompere:system-stubs-jupiter:2.1.6")
}
group = "com.tddworks"
version = "0.0.5"
repositories {
mavenCentral()
}
tasks {
test {
useJUnitPlatform()
}
}