|
|
@@ -6,6 +6,10 @@ ext {
|
|
|
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
|
|
+configurations {
|
|
|
+ persist
|
|
|
+}
|
|
|
+
|
|
|
task sourcesJar(type: Jar) {
|
|
|
baseName "${project.name}"
|
|
|
classifier 'sources'
|
|
|
@@ -27,6 +31,11 @@ task persistSourcesJar(type: Jar) {
|
|
|
include "**/entity/**", "**/dao/**"
|
|
|
}
|
|
|
|
|
|
+// Create artifact for other project import
|
|
|
+artifacts {
|
|
|
+ persist persistJar
|
|
|
+}
|
|
|
+
|
|
|
publishing {
|
|
|
publications {
|
|
|
plugin(MavenPublication) {
|