Skip to content

Commit 94003ad

Browse files
committed
update build.gradle
1 parent ce9cf6e commit 94003ad

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44

55
allprojects {
66
group = 'net.staticstudios'
7-
version = '3.0.0-alpha.0-SNAPSHOT'
7+
version = '3.0.0-SNAPSHOT'
88

99
repositories {
1010
mavenCentral()

core/build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ tasks.named('build') {
3636
dependsOn(shadowJar)
3737
}
3838

39-
tasks.named("publish") {
40-
dependsOn(build)
41-
}
42-
4339
test {
4440
useJUnitPlatform()
4541
}
4642

43+
tasks.withType(GenerateModuleMetadata).configureEach {
44+
enabled = false
45+
}
46+
4747
java {
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

processor/build.gradle

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff 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

4645
publishing {

0 commit comments

Comments
 (0)