ComputerCraft32

build.gradle

Jul 13th, 2020
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. import org.gradle.api.artifacts.*
  2.  
  3. apply plugin: 'java'
  4. apply plugin: 'base' // To add "clean" task to the root project.
  5.  
  6.  
  7. subprojects {
  8. apply from: rootProject.file('common.gradle')
  9. }
  10.  
  11.  
  12. repositories {
  13. jcenter()
  14.  
  15. maven {
  16. url 'https://dl.bintray.com/remyvd/rvandoosselaer'
  17. }
  18. }
  19.  
  20. dependencies {
  21.  
  22. compile 'com.github.stephengold:Heart:5.5.0'
  23.  
  24. compile 'com.github.stephengold:Minie:1.7.0'
  25.  
  26. compile 'com.rvandoosselaer:blocks:1.5.1'
  27. }
  28.  
  29. task mergedJavadoc(type: Javadoc, description: 'Creates Javadoc from all the projects.') {
  30. title = 'All modules'
  31. destinationDir = new File(project.buildDir, 'merged-javadoc')
  32.  
  33. // Note: The closures below are executed lazily.
  34. source {
  35. subprojects*.sourceSets*.main*.allSource
  36. }
  37. classpath.from {
  38. subprojects*.configurations*.compile*.copyRecursive({ !(it instanceof ProjectDependency); })*.resolve()
  39. }
  40.  
  41.  
  42.  
  43.  
  44. }
Advertisement
Add Comment
Please, Sign In to add comment