-
-
Save daschl/8051940 to your computer and use it in GitHub Desktop.
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
apply plugin: 'java' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
compile group: 'net.spy', name:'spymemcached', version: '2.10.3' | |
} | |
javadoc { | |
def sources = configurations.create '__depSources' | |
dependencies { | |
__depSources group: 'net.spy', name:'spymemcached', version: '2.10.3', classifier: 'sources' | |
} | |
def jars = configurations.depSources.files | |
jars | |
.collect({ jar -> project.zipTree(jar).matching({ include '**/*.java'}) }) | |
.each { files -> | |
source += files | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment