Modify project setup, generate maven artifact

This commit is contained in:
2016-07-03 16:24:05 +01:00
parent 0c96805b9d
commit 9558c0330f
4 changed files with 15 additions and 30 deletions

View File

@@ -1,5 +1,10 @@
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'maven'
group = 'com.github.boukefalos'
archivesBaseName = 'jlibwinapi'
version = '0.1'
repositories {
mavenCentral()
@@ -8,4 +13,10 @@ repositories {
dependencies {
compile 'net.java.dev.jna:jna:4.2.0'
compile 'net.java.dev.jna:platform:3.5.2'
}
uploadArchives {
repositories.mavenDeployer {
repository(url: uri('.maven'))
}
}