Added commonScripts.gradle / publishToMaven.gradle to have a publish task for all sub projects

This commit is contained in:
dankl 2020-04-22 11:48:42 +02:00 committed by dankito
parent 4d524f50c1
commit c47740ed12
1 changed files with 7 additions and 3 deletions

View File

@ -45,6 +45,12 @@ buildscript {
}
def commonScriptsFile = new File(new File(project.gradle.gradleUserHomeDir, "scripts"), "commonScripts.gradle")
if (commonScriptsFile.exists()) {
apply from: commonScriptsFile
}
allprojects {
repositories {
mavenLocal()
@ -55,10 +61,8 @@ allprojects {
group 'net.dankito.banking'
version appVersionName
task allDeps(type: DependencyReportTask) {} // to have a simple way to print all dependencies to console
}
task clean(type: Delete) {
delete rootProject.buildDir
}
}