Changed classes output dir names in core modules for better display in structure diagram
This commit is contained in:
parent
c1133d1ef3
commit
1719bdebeb
|
@ -70,7 +70,7 @@ configure(javaProjects()) {
|
||||||
File template = new File(projectDir, 'template.mf')
|
File template = new File(projectDir, 'template.mf')
|
||||||
mkdir(buildDir, 'bundlor')
|
mkdir(buildDir, 'bundlor')
|
||||||
if (template.exists()) {
|
if (template.exists()) {
|
||||||
ant.bundlor(inputPath: "$buildDir/classes/main", outputPath: "$buildDir/bundlor", manifestTemplatePath: template) {
|
ant.bundlor(inputPath: sourceSets.main.classesDir, outputPath: "$buildDir/bundlor", manifestTemplatePath: template) {
|
||||||
property(name: 'version', value: "$version")
|
property(name: 'version', value: "$version")
|
||||||
property(name: 'spring.version', value: "$springVersion")
|
property(name: 'spring.version', value: "$springVersion")
|
||||||
}
|
}
|
||||||
|
@ -124,6 +124,11 @@ configure(javaProjects()) {
|
||||||
conf2ScopeMappings.addMapping(1, configurations.provided, "provided")
|
conf2ScopeMappings.addMapping(1, configurations.provided, "provided")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configure(coreModuleProjects()) {
|
||||||
|
// Gives better names in structure101 jar diagram
|
||||||
|
sourceSets.main.classesDir = new File(buildDir, "classes/" + project.name.substring("spring-security".length() + 1))
|
||||||
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
// Required for ant s3 task
|
// Required for ant s3 task
|
||||||
mavenRepo name: "s2.com release", urls: "http://repository.springsource.com/maven/bundles/release"
|
mavenRepo name: "s2.com release", urls: "http://repository.springsource.com/maven/bundles/release"
|
||||||
|
|
Loading…
Reference in New Issue