File tree Expand file tree Collapse file tree 3 files changed +14
-13
lines changed
Expand file tree Collapse file tree 3 files changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ plugins {
44
55allprojects {
66 group = ' net.staticstudios'
7- version = ' 3.0.0-alpha.0- SNAPSHOT'
7+ version = ' 3.0.0-SNAPSHOT'
88
99 repositories {
1010 mavenCentral()
Original file line number Diff line number Diff line change @@ -36,14 +36,14 @@ tasks.named('build') {
3636 dependsOn(shadowJar)
3737}
3838
39- tasks. named(" publish" ) {
40- dependsOn(build)
41- }
42-
4339test {
4440 useJUnitPlatform()
4541}
4642
43+ tasks. withType(GenerateModuleMetadata ). configureEach {
44+ enabled = false
45+ }
46+
4747java {
4848 withSourcesJar()
4949 withJavadocJar()
@@ -58,7 +58,9 @@ publishing {
5858 maven(MavenPublication ) {
5959 artifactId = ' static-data'
6060
61- from components. shadow
61+ artifact(tasks. shadowJar) {
62+ classifier = null
63+ }
6264
6365 artifact sourcesJar
6466 artifact javadocJar
Original file line number Diff line number Diff line change @@ -32,15 +32,14 @@ build {
3232 dependsOn(shadowJar)
3333}
3434
35- tasks. named( " publish " ) {
36- dependsOn(build)
35+ tasks. withType( GenerateModuleMetadata ) . configureEach {
36+ enabled = false
3737}
3838
39-
40- // java {
41- // withSourcesJar()
42- // withJavadocJar()
43- // }
39+ java {
40+ withSourcesJar()
41+ withJavadocJar()
42+ }
4443
4544
4645publishing {
You can’t perform that action at this time.
0 commit comments