Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 1.47 KB | None | 0 0
  1. plugins {
  2.     id 'java'
  3.     id 'application'
  4. }
  5.  
  6. group 'starsheep'
  7. version '1.0-SNAPSHOT'
  8.  
  9. sourceCompatibility = 1.8
  10.  
  11. repositories {
  12.     mavenCentral()
  13. }
  14.  
  15. //starsheep custom task
  16. task(rundev, dependsOn: 'classes', type: JavaExec) {
  17.    main = 'devTool.ApplicationWindow'
  18.    classpath = sourceSets.main.runtimeClasspath
  19.    //args 'mrhaki'
  20.    //systemProperty 'simple.message', 'Hello '
  21. }
  22.  
  23. task(devApp, dependsOn: 'classes', type: JavaExec) {
  24.    main = 'devApp.Application'
  25.    classpath = sourceSets.main.runtimeClasspath
  26. }
  27.  
  28. dependencies {
  29.     testCompile group: 'junit', name: 'junit', version: '4.12'
  30.    
  31.     // https://mvnrepository.com/artifact/com.jgoodies/jgoodies-common
  32.     compile group: 'com.jgoodies', name: 'jgoodies-common', version: '1.8.0'
  33.    
  34.     // https://mvnrepository.com/artifact/com.jgoodies/jgoodies-forms
  35.     compile group: 'com.jgoodies', name: 'jgoodies-forms', version: '1.8.0'
  36.    
  37.     // https://mvnrepository.com/artifact/org.graphstream/gs-core
  38.     compile group: 'org.graphstream', name: 'gs-core', version: '1.3'
  39.  
  40.     // https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api
  41.     compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
  42.    
  43.     // https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl
  44.     compile group: 'com.sun.xml.bind', name: 'jaxb-impl', version: '2.3.2'
  45.  
  46.     // https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-core
  47.     compile group: 'com.sun.xml.bind', name: 'jaxb-core', version: '2.3.0.1'
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement