Skip to content

Commit

Permalink
Fix maven publishing (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
q1zZu authored Feb 14, 2024
2 parents 0a6adb3 + 411bdb0 commit c417714
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,31 @@
plugins {
id 'java'
id 'maven-publish'
allprojects {
group 'me.q1zz.spaceis.sdk'
version '0.2'
}

allprojects {
subprojects {

apply plugin: 'java'
apply plugin: 'maven-publish'

sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
withSourcesJar()
withJavadocJar()
}

}
publishing {
publications {
maven(MavenPublication) {
groupId project.group
artifactId project.name
version project.version
from components.java
}
}
}

}

0 comments on commit c417714

Please sign in to comment.