Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
[0.2.0] Removed dumb maven publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
3arthqu4ke committed Mar 7, 2024
1 parent cc640f9 commit 5d916a0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -430,17 +430,12 @@ subprojects {

afterEvaluate {
subprojects {
def pubSuffix = System.getenv('IS_MAVEN_PUB') != null
? ''
: System.getenv('GITHUB_RUN_NUMBER') != null && System.getenv('GITHUB_SHA') != null
? "-${System.getenv('GITHUB_RUN_NUMBER')}-${System.getenv('GITHUB_SHA').substring(0, 7)}"
: ''
publishing {
publications {
"$project.name"(MavenPublication) {
((MavenPublication) it).groupId "${project.group}"
((MavenPublication) it).artifactId "${project.archivesBaseName.toLowerCase()}"
((MavenPublication) it).version "${project.version}${pubSuffix}"
((MavenPublication) it).version "${project.version}"
//noinspection GroovyAssignabilityCheck
from components.java
for (String platform_capitalized : rootProject.ext.platforms_cap) {
Expand Down

0 comments on commit 5d916a0

Please sign in to comment.