A "universal" / normalized API wrapper for git hosting services.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

30 lines
553 B

  1. buildscript {
  2. repositories {
  3. mavenCentral()
  4. maven {
  5. url "https://plugins.gradle.org/m2/"
  6. }
  7. }
  8. dependencies {
  9. classpath 'com.moowork.gradle:gradle-node-plugin:1.3.1'
  10. }
  11. }
  12. apply plugin: 'base'
  13. apply plugin: 'com.moowork.node'
  14. node {
  15. version = '12.13.0'
  16. npmVersion = '6.14.4'
  17. yarnVersion = '1.21.1'
  18. download = false
  19. }
  20. yarn_install {
  21. dependsOn ':gitrest:assemble'
  22. }
  23. task run(type: YarnTask) {
  24. dependsOn ':example-nodejs:yarn_install'
  25. args = ['node', 'src/index.js']
  26. }