Created
January 6, 2023 00:41
-
-
Save GoldenStack/74a7da7a98564082d58556b2888b2b80 to your computer and use it in GitHub Desktop.
Fixes "ERROR: No build artifacts found". Pick the one that fits your project.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
publishing { | |
publications { | |
mavenJava(MavenPublication) { | |
from components.java | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configure<PublishingExtension> { | |
publications { | |
create<MavenPublication>("mavenJava") { | |
from(components["java"]) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment