Repository: incubator-edgent Updated Branches: refs/heads/master a85c6c320 -> 2c5c23213
fix publish by ignoring platform projects Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/e02be19f Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/e02be19f Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/e02be19f Branch: refs/heads/master Commit: e02be19fdd6119c1b71a2b007ca140dc968fb0bd Parents: 232f89c Author: Yaoliang Chen <yaolia...@cn.ibm.com> Authored: Mon Nov 7 08:39:21 2016 +0800 Committer: Yaoliang Chen <yaolia...@cn.ibm.com> Committed: Mon Nov 7 08:44:34 2016 +0800 ---------------------------------------------------------------------- build.gradle | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/e02be19f/build.gradle ---------------------------------------------------------------------- diff --git a/build.gradle b/build.gradle index 8ed09f5..c984170 100644 --- a/build.gradle +++ b/build.gradle @@ -210,8 +210,10 @@ subprojects { if (aggregatorOnlyProjects.contains(project.path)) { return } - - apply plugin: 'maven-publish' + + if(!project.group.equals("edgent.platform")){ + apply plugin: 'maven-publish' + } apply plugin: 'java' apply plugin: "jacoco" @@ -621,6 +623,7 @@ subprojects { // support for 'gradle publishToMavenLocal' etc // TODO publishing test.{fvt,svt} and samples ... doesn't seem desirable? e.g., we're excluding test.{fvt,svt} jars from the tgz + if(!project.group.equals("edgent.platform")){ publishing { publications { mavenJava(MavenPublication) { @@ -636,6 +639,7 @@ subprojects { } } } + } } }