numass-framework/build.gradle

44 lines
1.2 KiB
Groovy
Raw Normal View History

2015-12-18 16:20:47 +03:00
apply plugin: 'base'
apply plugin: 'project-report'
apply plugin: 'build-dashboard'
htmlDependencyReport {
projects = project.allprojects
}
2016-06-23 15:37:41 +03:00
File dataforgeDir = new File(rootDir, dataforgePath);
print "The dataforge directory is ${dataforgeDir}"
2015-12-18 16:20:47 +03:00
if(dataforgeDir.exists()){
2015-12-18 16:52:01 +03:00
rootProject.ext.dataforgeLocal = true;
2015-12-18 16:20:47 +03:00
}
subprojects{
if(path.startsWith(':dataforge')){
apply from: new File(dataforgeDir, 'dataforge.gradle')
}
if(path.startsWith(':numass')){
apply from: rootProject.file('numass.gradle')
}
}
buildscript {
repositories { jcenter() }
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.+'
}
}
//task mergedJavadoc(type: Javadoc, description: 'Creates Javadoc from all the projects.') {
// title = 'All modules'
// destinationDir = new File(project.buildDir, 'merged-javadoc')
//
// // Note: The closures below are executed lazily.
// source {
// subprojects*.sourceSets*.main*.allSource
// }
// classpath.from {
// subprojects*.configurations*.compile*.copyRecursive({!(it instanceof ProjectDependency)})*.resolve()
// }
//}