Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef56eef
commit eccd8ca
Showing
125 changed files
with
84 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
dependencies { | ||
compile project(":grails-bootstrap"), project(":grails-spring") | ||
} | ||
|
||
assemble.doLast { | ||
delete("${buildDir}/classes/main/META-INF") | ||
} | ||
jar.appendix = 'core' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
task createSharedFilesJar(type: Jar, description: 'Package up the files that are shared by both applications and plugins.') { | ||
version = null | ||
appendix = "shared-files" | ||
appFileJar = true | ||
from("src/war/WEB-INF") { | ||
into "web-app/WEB-INF" | ||
include "applicationContext.xml", "sitemesh.xml", "tld/*.tld" | ||
} | ||
from("src/grails/grails-app/conf") { | ||
into "grails-app/conf" | ||
include "DataSource.groovy", "UrlMappings.groovy" | ||
} | ||
} | ||
|
||
task createSharedApplicationFilesJar(type: Jar, description: 'Package up the files that are exclusive to applications.') { | ||
version = null | ||
appendix = "app-files" | ||
appFileJar = true | ||
from("src/war") { | ||
into "web-app" | ||
exclude "WEB-INF/**" | ||
} | ||
from("src/grails/grails-app") { | ||
into "grails-app" | ||
exclude "taglib/**", "utils/**", "conf/DataSource.groovy", "conf/UrlMappings.groovy" | ||
} | ||
} | ||
|
||
task createSharedPluginFilesJar(type: Jar, description: 'Package up the files that are exclusive to plugins.') { | ||
version = null | ||
appendix = "plugin-files" | ||
appFileJar = true | ||
from("src/grails/templates/plugins") | ||
from("src/grails") { | ||
include "grails-app/conf/BuildConfig.groovy", "grails-app/views/error.gsp" | ||
} | ||
from("src/grails/plugin") | ||
} | ||
|
||
task createIntegrationFilesJar(type: Jar, description: 'Files to integrate Grails with IDEs and build systems.') { | ||
version = null | ||
appendix = "integration-files" | ||
appFileJar = true | ||
from("src/grails/templates/ide-support", "src/grails/ant") | ||
} | ||
|
||
allJarFileTasks = [createSharedFilesJar,createSharedApplicationFilesJar,createSharedPluginFilesJar,createIntegrationFilesJar] | ||
task resourceJarFiles << { | ||
dependsOn allJarFileTasks | ||
} | ||
|
||
|
||
jar.dependsOn resourceJarFiles | ||
|
||
for(jarTask in allJarFileTasks) { | ||
jar.from(jarTask.archivePath) | ||
} | ||
|
||
jar.appendix = 'resources' |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters