Skip to content

Commit 01dd96f

Browse files
committed
Disable Gradle plugin maven central publish
1 parent 4e90e04 commit 01dd96f

File tree

2 files changed

+30
-28
lines changed

2 files changed

+30
-28
lines changed

build-tool-plugins/gradle-plugin/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33

44
# Ignore Gradle build output directory
55
build
6+
7+
set-publish-key.sh

build-tool-plugins/gradle-plugin/build.gradle.kts

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
`java-gradle-plugin`
33
id("com.gradle.plugin-publish") version "1.2.1"
4-
id("com.vanniktech.maven.publish") version "0.34.0" //currently only used for local publish, plugin is published bto Gradle Plugin Portal
4+
//id("com.vanniktech.maven.publish") version "0.34.0" //currently only used for local publish, plugin is published bto Gradle Plugin Portal
55
}
66

77
java {
@@ -41,30 +41,30 @@ gradlePlugin {
4141
tasks.named<Test>("test") {
4242
useJUnitPlatform()
4343
}
44-
45-
mavenPublishing {
46-
pom {
47-
name.set("SharedType Gradle Plugin")
48-
description.set("SharedType Gradle Plugin, SharedType is the tool to generate types from Java to target languages.")
49-
inceptionYear.set("2024")
50-
url.set("https://github.com/SharedType/sharedtype")
51-
licenses {
52-
license {
53-
name.set("CC BY 4.0")
54-
url.set("https://creativecommons.org/licenses/by/4.0/deed.en")
55-
distribution.set("https://creativecommons.org/licenses/by/4.0/deed.en")
56-
}
57-
}
58-
developers {
59-
developer {
60-
id.set("cuzfrog")
61-
name.set("Cause Chung")
62-
url.set("https://github.com/cuzfrog")
63-
}
64-
}
65-
scm {
66-
url.set("https://github.com/SharedType/sharedtype")
67-
connection.set("scm:git@github.com:SharedType/sharedtype.git")
68-
}
69-
}
70-
}
44+
//
45+
//mavenPublishing {
46+
// pom {
47+
// name.set("SharedType Gradle Plugin")
48+
// description.set("SharedType Gradle Plugin, SharedType is the tool to generate types from Java to target languages.")
49+
// inceptionYear.set("2024")
50+
// url.set("https://github.com/SharedType/sharedtype")
51+
// licenses {
52+
// license {
53+
// name.set("CC BY 4.0")
54+
// url.set("https://creativecommons.org/licenses/by/4.0/deed.en")
55+
// distribution.set("https://creativecommons.org/licenses/by/4.0/deed.en")
56+
// }
57+
// }
58+
// developers {
59+
// developer {
60+
// id.set("cuzfrog")
61+
// name.set("Cause Chung")
62+
// url.set("https://github.com/cuzfrog")
63+
// }
64+
// }
65+
// scm {
66+
// url.set("https://github.com/SharedType/sharedtype")
67+
// connection.set("scm:git@github.com:SharedType/sharedtype.git")
68+
// }
69+
// }
70+
//}

0 commit comments

Comments
 (0)