Skip to content

Commit 8850c5c

Browse files
authored
chore: remove multiple uploads (#985)
* chore: remove multiple uploads * add debug option * remove component java * copy example from github * comment out sourcejar and javadocjar tasks * enable build cache * publish pluginMaven * disable auto publishing in java-gradle-plugin * add java components * remove debug option * disable module metadata generation
1 parent f4c4153 commit 8850c5c

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.gitignore

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
**/*.iml
22
target/
3-
.idea/modules.xml
4-
.idea/misc.xml
5-
.idea/compiler.xml
6-
.idea/vcs.xml
7-
.idea/uiDesigner.xml
8-
.idea/encodings.xml
9-
.idea/libraries/
10-
.idea/workspace.xml
11-
.idea/jarRepositories.xml
12-
.idea/codeStyles/Project.xml
13-
.idea/codeStyles/codeStyleConfig.xml
3+
.idea/*
144
.classpath
155
.project
166
.settings/*
177
.metadata/*
188
.DS_Store
199
.checkstyle
10+
.mvn/wrapper/maven-wrapper.jar
11+
app-maven-plugin/installPlugin.txt
2012
app-gradle-plugin/.gradle/
2113
app-gradle-plugin/build/
2214

app-gradle-plugin/build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,14 @@ release {
141141
}
142142
}
143143

144+
// disable gradlePlugin auto publishing to avoid duplicate uploads,
145+
// see https://github.com/gradle/gradle/issues/10384 for more info.
146+
gradlePlugin { isAutomatedPublishing = false }
147+
148+
tasks.withType<GenerateModuleMetadata> {
149+
enabled = false
150+
}
151+
144152
publishing {
145153
publications {
146154
create<MavenPublication>("mavenJava") {

0 commit comments

Comments
 (0)