Skip to content

Commit c79a283

Browse files
authored
Merge pull request #511 from rfresh2/mavenPublish
Publish Lambda API with Maven
2 parents 879fbaf + 17b1c0c commit c79a283

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

build.gradle

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ buildscript {
1313

1414
plugins {
1515
id 'org.jetbrains.kotlin.jvm' version "$kotlinVersion"
16+
id 'maven-publish'
1617
}
1718

1819
apply plugin: 'net.minecraftforge.gradle'
@@ -198,7 +199,11 @@ reobf {
198199
}
199200
}
200201

201-
artifacts {
202-
shadowJar
203-
}
204-
202+
publishing {
203+
publications {
204+
api(MavenPublication) {
205+
artifact source: buildApi, classifier: null
206+
artifact source: buildApiSource, classifier: 'sources'
207+
}
208+
}
209+
}

0 commit comments

Comments
 (0)