ZenScript main repository
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

build.gradle 843B

123456789101112131415161718192021
  1. // Note: "common.gradle" in the root project contains additional initialization
  2. // for this project. This initialization is applied in the "build.gradle"
  3. // of the root project.
  4. // NetBeans will automatically add "run" and "debug" tasks relying on the
  5. // "mainClass" property. You may however define the property prior executing
  6. // tasks by passing a "-PmainClass=<QUALIFIED_CLASS_NAME>" argument.
  7. //
  8. // Note however, that you may define your own "run" and "debug" task if you
  9. // prefer. In this case NetBeans will not add these tasks but you may rely on
  10. // your own implementation.
  11. if (!hasProperty('mainClass')) {
  12. ext.mainClass = 'org.openzen.zenscript.scriptingexample.Main'
  13. }
  14. dependencies {
  15. compile project(':Parser')
  16. compile project(':JavaBytecodeCompiler')
  17. compile project(':CodeFormatter')
  18. compile project(':Validator')
  19. }