Skip to content

Commit

Permalink
Merge pull request #511 from rfresh2/mavenPublish
Browse files Browse the repository at this point in the history
Publish Lambda API with Maven
  • Loading branch information
Avanatiker authored Apr 7, 2023
2 parents 879fbaf + 17b1c0c commit c79a283
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ buildscript {

plugins {
id 'org.jetbrains.kotlin.jvm' version "$kotlinVersion"
id 'maven-publish'
}

apply plugin: 'net.minecraftforge.gradle'
Expand Down Expand Up @@ -198,7 +199,11 @@ reobf {
}
}

artifacts {
shadowJar
}

publishing {
publications {
api(MavenPublication) {
artifact source: buildApi, classifier: null
artifact source: buildApiSource, classifier: 'sources'
}
}
}

0 comments on commit c79a283

Please sign in to comment.