I’m using buildUberJar cuba task to package uberJar and uploadArchives to deploy jar into my maven repository. The problem is I don’t know how to upload uberJar throw these tasks.
Where can I find groovy source code of uploadArchives task and builduberjar task to redefine them?
How to redefine uploadArchives to build and upload uberJar?
Made upload throw maven-publish gradle plugin
apply plugin: 'maven-publish'
ext {
jarToPublish = file( )
}
publishing {
publications {
uberJarPublication( MavenPublication ) {
groupId
artifactId
version
artifact
}
}
repositories {
maven {
url =
credentials {
username
password
}
}
}
}
Hi @wizardsbureau
You can find some useful tips related to UberJAR Deployment in CUBA documentation here and there.
Thanks,
Yulia