|
1 | 1 | plugins { |
2 | 2 | `java-gradle-plugin` |
3 | 3 | 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 |
5 | 5 | } |
6 | 6 |
|
7 | 7 | java { |
@@ -41,30 +41,30 @@ gradlePlugin { |
41 | 41 | tasks.named<Test>("test") { |
42 | 42 | useJUnitPlatform() |
43 | 43 | } |
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