You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polygene.apache.org by pa...@apache.org on 2016/11/06 17:00:55 UTC

[03/16] zest-java git commit: build: remove idea plugin as Gradle project import works out of the box these days

build: remove idea plugin as Gradle project import works out of the box these days

This should speed up the build a little


Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/78a75eaa
Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/78a75eaa
Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/78a75eaa

Branch: refs/heads/develop
Commit: 78a75eaa7f4993f9f7ef949d53b0228344a5bae4
Parents: 55c5102
Author: Paul Merlin <pa...@apache.org>
Authored: Thu Nov 3 18:55:28 2016 +0100
Committer: Paul Merlin <pa...@apache.org>
Committed: Thu Nov 3 18:55:28 2016 +0100

----------------------------------------------------------------------
 build.gradle                                     | 19 -------------------
 .../app/templates/buildtool/gradle-root.tmpl     |  3 +--
 .../etc/templates/default/files/build.gradle_    |  1 -
 .../etc/templates/ng2-heroes/files/build.gradle_ |  1 -
 .../dist/etc/templates/null/files/build.gradle_  |  1 -
 .../etc/templates/restapp/files/build.gradle_    |  1 -
 .../etc/templates/singleton/files/build.gradle_  |  1 -
 7 files changed, 1 insertion(+), 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-java/blob/78a75eaa/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 15b9107..d58223a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -44,7 +44,6 @@ buildscript {
 
 
 apply plugin: 'java'
-apply plugin: 'idea'
 apply plugin: 'signing'
 apply plugin: 'maven'
 apply plugin: 'maven-publish-auth'
@@ -106,18 +105,6 @@ rat {
     ]
 }
 
-
-// External tools BEGIN ---------------------------------------------------
-
-// IDEA plugin configuration
-idea.project.ipr {
-  withXml { provider ->
-    provider.node.component.find { it.@name == 'VcsDirectoryMappings' }.mapping.@vcs = 'Git'
-  }
-}
-
-// External tools END -----------------------------------------------------
-
 // Define repositories URLs here so we can reuse them in the build script
 // Needed as Gradle forbid access to declared repositories URLs by design
 // Releasable submodules should not declare repositories in their own build files
@@ -131,7 +118,6 @@ def repos_urls = [
 allprojects {
 
   apply plugin: 'eclipse'
-  apply plugin: 'idea'
   apply plugin: 'signing'
   apply plugin: 'java'
 //  apply plugin: 'checkstyle'
@@ -442,11 +428,6 @@ allprojects {
   apply from: "$rootProject.projectDir/maven-compat.gradle"
   apply plugin: 'maven-publish-auth' // Bug in maven-publish-auth require apply after uploadArchives setup
 
-  idea.module.iml {
-    whenMerged { module ->
-      module.dependencies*.exported = true
-    }
-  }
 } // allprojects END -------------------------------------------------------
 
 // Allow easy download of all dependencies to go offline

http://git-wip-us.apache.org/repos/asf/zest-java/blob/78a75eaa/tools/generator-zest/app/templates/buildtool/gradle-root.tmpl
----------------------------------------------------------------------
diff --git a/tools/generator-zest/app/templates/buildtool/gradle-root.tmpl b/tools/generator-zest/app/templates/buildtool/gradle-root.tmpl
index f2b7de7..cae3f2a 100644
--- a/tools/generator-zest/app/templates/buildtool/gradle-root.tmpl
+++ b/tools/generator-zest/app/templates/buildtool/gradle-root.tmpl
@@ -26,7 +26,6 @@ rootProject.ext {
 
 allprojects() {
   apply plugin: 'java'
-  apply plugin: 'idea'
   apply plugin: 'maven'
 
   defaultTasks 'assemble'
@@ -44,4 +43,4 @@ allprojects() {
     compile "org.apache.zest.core:org.apache.zest.core.api:$zestVersion"
     testCompile "org.apache.zest.core:org.apache.zest.core.testsupport:$zestVersion"
   }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/zest-java/blob/78a75eaa/tools/shell/src/dist/etc/templates/default/files/build.gradle_
----------------------------------------------------------------------
diff --git a/tools/shell/src/dist/etc/templates/default/files/build.gradle_ b/tools/shell/src/dist/etc/templates/default/files/build.gradle_
index 3d5b366..bc1285e 100644
--- a/tools/shell/src/dist/etc/templates/default/files/build.gradle_
+++ b/tools/shell/src/dist/etc/templates/default/files/build.gradle_
@@ -7,7 +7,6 @@ rootProject.ext {
 
 allprojects() {
   apply plugin: 'java'
-  apply plugin: 'idea'
   apply plugin: 'maven'
 
   repositories {

http://git-wip-us.apache.org/repos/asf/zest-java/blob/78a75eaa/tools/shell/src/dist/etc/templates/ng2-heroes/files/build.gradle_
----------------------------------------------------------------------
diff --git a/tools/shell/src/dist/etc/templates/ng2-heroes/files/build.gradle_ b/tools/shell/src/dist/etc/templates/ng2-heroes/files/build.gradle_
index 3d5b366..bc1285e 100644
--- a/tools/shell/src/dist/etc/templates/ng2-heroes/files/build.gradle_
+++ b/tools/shell/src/dist/etc/templates/ng2-heroes/files/build.gradle_
@@ -7,7 +7,6 @@ rootProject.ext {
 
 allprojects() {
   apply plugin: 'java'
-  apply plugin: 'idea'
   apply plugin: 'maven'
 
   repositories {

http://git-wip-us.apache.org/repos/asf/zest-java/blob/78a75eaa/tools/shell/src/dist/etc/templates/null/files/build.gradle_
----------------------------------------------------------------------
diff --git a/tools/shell/src/dist/etc/templates/null/files/build.gradle_ b/tools/shell/src/dist/etc/templates/null/files/build.gradle_
index 3234abc..874ce6d 100644
--- a/tools/shell/src/dist/etc/templates/null/files/build.gradle_
+++ b/tools/shell/src/dist/etc/templates/null/files/build.gradle_
@@ -7,7 +7,6 @@ rootProject.ext {
 
 allprojects() {
   apply plugin: 'java'
-  apply plugin: 'idea'
   apply plugin: 'maven'
 
   repositories {

http://git-wip-us.apache.org/repos/asf/zest-java/blob/78a75eaa/tools/shell/src/dist/etc/templates/restapp/files/build.gradle_
----------------------------------------------------------------------
diff --git a/tools/shell/src/dist/etc/templates/restapp/files/build.gradle_ b/tools/shell/src/dist/etc/templates/restapp/files/build.gradle_
index 3d5b366..bc1285e 100644
--- a/tools/shell/src/dist/etc/templates/restapp/files/build.gradle_
+++ b/tools/shell/src/dist/etc/templates/restapp/files/build.gradle_
@@ -7,7 +7,6 @@ rootProject.ext {
 
 allprojects() {
   apply plugin: 'java'
-  apply plugin: 'idea'
   apply plugin: 'maven'
 
   repositories {

http://git-wip-us.apache.org/repos/asf/zest-java/blob/78a75eaa/tools/shell/src/dist/etc/templates/singleton/files/build.gradle_
----------------------------------------------------------------------
diff --git a/tools/shell/src/dist/etc/templates/singleton/files/build.gradle_ b/tools/shell/src/dist/etc/templates/singleton/files/build.gradle_
index 3234abc..874ce6d 100644
--- a/tools/shell/src/dist/etc/templates/singleton/files/build.gradle_
+++ b/tools/shell/src/dist/etc/templates/singleton/files/build.gradle_
@@ -7,7 +7,6 @@ rootProject.ext {
 
 allprojects() {
   apply plugin: 'java'
-  apply plugin: 'idea'
   apply plugin: 'maven'
 
   repositories {