From c47740ed125c7bd39b88425a2b2a5ec85a283c8b Mon Sep 17 00:00:00 2001 From: dankl Date: Wed, 22 Apr 2020 11:48:42 +0200 Subject: [PATCH] Added commonScripts.gradle / publishToMaven.gradle to have a publish task for all sub projects --- build.gradle | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 436337b6..15472664 100644 --- a/build.gradle +++ b/build.gradle @@ -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 -} +} \ No newline at end of file