Skip to content

Commit

Permalink
Add maven-publish setup for jitpack.io
Browse files Browse the repository at this point in the history
  • Loading branch information
NotStirred committed Aug 13, 2022
1 parent 6d8b77c commit f7f0876
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
plugins {
id 'java'
id 'maven-publish'
}

group 'io.github.opencubicchunks.dasm'
group 'io.github.opencubicchunks'
version '1.0'

repositories {
Expand All @@ -21,4 +22,16 @@ dependencies {
implementation 'org.ow2.asm:asm-commons:9.1'

implementation 'org.jetbrains:annotations:23.0.0'
}

publishing {
publications {
maven(MavenPublication) {
groupId = project.group
artifactId = project.name
version = project.version

from components.java
}
}
}

0 comments on commit f7f0876

Please sign in to comment.