Use maven-publish
@@ -34,6 +34,7 @@ libraries.jnigen = [
]
allprojects{
+ apply plugin: 'maven-publish'
group = 'com.github.Anuken'
version = '1.0'
@@ -80,4 +81,17 @@ subprojects{
options.fork = true
options.incremental = true
}
+
+ java{
+ withJavadocJar()
+ withSourcesJar()
+ }
+
+ publishing{
+ publications{
+ maven(MavenPublication){
+ from components.java
+ }
+ }
+ }
}
\ No newline at end of file
