Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit f1ad5ab

Browse files
committed
Updated release configuration for multi-project
1 parent 4604dde commit f1ad5ab

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

build.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,16 @@ buildscript {
3030
}
3131
}
3232

33+
plugins {
34+
id 'net.researchgate.release' version '2.7.0'
35+
}
36+
3337
subprojects {
3438
apply plugin: 'idea'
3539
apply plugin: 'java'
3640
apply plugin: 'maven'
3741
apply plugin: 'maven-publish'
3842
apply plugin: "com.jfrog.bintray"
39-
apply plugin: 'net.researchgate.release'
4043

4144
version = PROJECT_VERSION
4245
group = PROJECT_GROUP
@@ -172,6 +175,10 @@ release {
172175

173176
afterReleaseBuild.dependsOn bintrayUpload
174177

178+
task build {
179+
dependsOn subprojects.findResults { it.tasks.findByName('build') }
180+
}
181+
175182
task wrapper(type: Wrapper) {
176183
gradleVersion = "${GRADLE_WRAPPER_VER}"
177184
}

0 commit comments

Comments
 (0)