FINERACT-1102: Swagger Codegen Client JAR should be available on a Maven repo
This commit is contained in:
committed by
Michael Vorburger ⛑️
parent
19f2a38095
commit
6b28c0e047
+46
-1
@@ -29,7 +29,11 @@ buildscript {
|
|||||||
'fineract-client'
|
'fineract-client'
|
||||||
].contains(it.name)
|
].contains(it.name)
|
||||||
}
|
}
|
||||||
|
fineractPublishProjects = subprojects.findAll{
|
||||||
|
[
|
||||||
|
'fineract-client'
|
||||||
|
].contains(it.name)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
@@ -453,3 +457,44 @@ configure(project.fineractJavaProjects) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configure(project.fineractPublishProjects) {
|
||||||
|
apply plugin: 'maven'
|
||||||
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
mavenJava(MavenPublication) {
|
||||||
|
from components.java
|
||||||
|
|
||||||
|
versionMapping {
|
||||||
|
usage('java-api') {
|
||||||
|
fromResolutionOf('runtimeClasspath')
|
||||||
|
}
|
||||||
|
usage('java-runtime') {
|
||||||
|
fromResolutionResult()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
pom {
|
||||||
|
name = 'Fineract'
|
||||||
|
description = 'A secure, multi-tenanted microfinance platform'
|
||||||
|
url = 'https://fineract.apache.org'
|
||||||
|
licenses {
|
||||||
|
license {
|
||||||
|
name = 'The Apache License, Version 2.0'
|
||||||
|
url = 'http://www.apache.org/licenses/LICENSE-2.0.html'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
scm {
|
||||||
|
connection = 'scm:git:https://github.com/apache/fineract.git'
|
||||||
|
developerConnection = 'scm:git:git://github.com:apache/fineract.git'
|
||||||
|
url = 'https://fineract.apache.org/'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// TODO FINERACT-1102: Actually use this to deploy to ASF (Apache Software Foundation) Nexus Maven Repository
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user