diff --git a/build.gradle b/build.gradle index 5aaf4f2..00eb9df 100644 --- a/build.gradle +++ b/build.gradle @@ -1,10 +1,10 @@ apply plugin: 'java' apply plugin: 'war' +apply plugin: 'maven-publish' - +group='org.jpacrepo' sourceCompatibility = 1.8 -//version = '1.0' logging.captureStandardOutput LogLevel.INFO @@ -70,3 +70,17 @@ task serverJar(type: Jar) { } } + +publishing { + publications { + maven(MavenPublication) { + groupId project.group + artifactId project.name + "-common" + version "1.0" + + artifact clientJar { + //classifier "sources" + } + } + } +} \ No newline at end of file diff --git a/jpacrepo.iml b/jpacrepo.iml index f603ead..7b735f0 100644 --- a/jpacrepo.iml +++ b/jpacrepo.iml @@ -1,5 +1,5 @@ - + @@ -28,7 +28,6 @@ - @@ -101,5 +100,10 @@ + + + + + \ No newline at end of file