Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import org.gradle.api.artifacts.*
- apply plugin: 'java'
- apply plugin: 'base' // To add "clean" task to the root project.
- subprojects {
- apply from: rootProject.file('common.gradle')
- }
- repositories {
- jcenter()
- maven {
- url 'https://dl.bintray.com/remyvd/rvandoosselaer'
- }
- }
- dependencies {
- compile 'com.github.stephengold:Heart:5.5.0'
- compile 'com.github.stephengold:Minie:1.7.0'
- compile 'com.rvandoosselaer:blocks:1.5.1'
- }
- 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()
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment