Browse Source
- inline test-mvc and tiles3 .gradle files for clarity - rename merge-dist.gradle to merge-artifacts.gradle - polish Javadoc for merge-artifacts.gradle - move merge-artifacts.gradle into gradle subdirectory - move publish-maven.gradle into gradle subdirectorypull/187/head
5 changed files with 19 additions and 20 deletions
@ -1,22 +1,22 @@ |
|||||||
import org.gradle.plugins.ide.eclipse.model.ProjectDependency |
import org.gradle.plugins.ide.eclipse.model.ProjectDependency |
||||||
|
|
||||||
/** |
/** |
||||||
* Will merge the distributions of the current project into mergeIntoProject. For |
* Will merge the artifacts of the current project into mergeIntoProject. For example, to |
||||||
* example, to bundle spring-test-mvc in spring-test's jars. This script will perform the |
* bundle spring-test-mvc in spring-test's jars. This script will perform the following |
||||||
* following steps: |
* steps: |
||||||
* <ul> |
* |
||||||
* <li>Ensure that jar tasks of the project being merged from will execute the tasks of |
* - Ensure that jar tasks of the project being merged from will execute the tasks of the |
||||||
* the project being merged into</li> |
* project being merged into |
||||||
* <li>Add the project being merged into to the classpath of the project being merged |
* |
||||||
* from</li> |
* - Add the project being merged into to the classpath of the project being merged from |
||||||
* <li>Update the pom.xml of the project being merged into to contain the entries from |
* |
||||||
* the project being merged from</li> |
* - Update the pom.xml of the project being merged into to contain the entries from the |
||||||
* </ul> |
* project being merged from |
||||||
* |
* |
||||||
* Example Usage: |
* Example Usage: |
||||||
* |
* |
||||||
* ext.mergeIntoProject = project(':spring-test') |
* ext.mergeIntoProject = project(':spring-test') |
||||||
* apply from: "${rootProject.projectDir}/merge-dist.gradle" |
* apply from: "${rootProject.projectDir}/gradle/merge-artifacts.gradle" |
||||||
*/ |
*/ |
||||||
|
|
||||||
def mergeFromProject = project |
def mergeFromProject = project |
||||||
@ -1,2 +0,0 @@ |
|||||||
ext.mergeIntoProject = project(':spring-test') |
|
||||||
apply from: "${rootProject.projectDir}/merge-dist.gradle" |
|
||||||
Loading…
Reference in new issue