ZenScript main repository
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516171819202122
  1. repositories {
  2. mavenCentral()
  3. }
  4. dependencies {
  5. compile 'org.ow2.asm:asm-debug-all:6.0_BETA'
  6. }
  7. def javaScriptingProjects = [':JavaIntegration',':JavaAnnotations',':JavaBytecodeCompiler', ':JavaShared', ':Validator', ':Parser', ':CodeModel', ':Shared']
  8. jar {
  9. dependsOn javaScriptingProjects.collect{ it+":compileJava"}
  10. from files(javaScriptingProjects.collect{ project(it).sourceSets.main.output })
  11. }
  12. sourcesJar {
  13. from files(javaScriptingProjects.collect { project(it).sourceSets.main.allSource })
  14. }
  15. install {
  16. repositories.mavenInstaller {
  17. pom.artifactId = 'zencode-javascripting'
  18. }
  19. }