Advertisement
Guest User

Untitled

a guest
Nov 27th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 1.36 KB | None | 0 0
  1. buildscript {
  2.     ext.kotlin_version = '1.3.10'
  3.  
  4.     repositories {
  5.         mavenCentral()
  6.     }
  7.  
  8.     dependencies {
  9.         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  10.     }
  11. }
  12.  
  13. plugins {
  14.     id 'java'
  15.     id 'org.jetbrains.kotlin.jvm' version "1.3.10"
  16.     id 'maven'
  17. }
  18.  
  19. task runJadePlatform(type: JavaExec){
  20.     args = ['-conf', 'src/main/resources/jade-main-container.properties']
  21.     description = "Starts JADE main container and initialize platform."
  22.     main = "jade.Boot"
  23.     classpath = sourceSets.main.runtimeClasspath
  24. }
  25.  
  26. task runJadeAgents(type: JavaExec) {
  27.     args = ['-conf', 'src/main/resources/jade-agent-container.properties']
  28.     description = "Starts JADE container with agents and connects to a platform."
  29.     main = "jade.Boot"
  30.     classpath = sourceSets.main.runtimeClasspath
  31. }
  32.  
  33. repositories {
  34.     mavenLocal()
  35.     maven {
  36.         url = 'http://jade.tilab.com/maven/'
  37.     }
  38.  
  39.     maven {
  40.         url = 'http://repo.maven.apache.org/maven2'
  41.     }
  42. }
  43.  
  44. dependencies {
  45.     compile 'com.tilab.jade:jade:4.5.0'
  46.     compile 'org.slf4j:slf4j-api:1.7.25'
  47.     compile 'org.slf4j:slf4j-simple:1.7.25'
  48.     compile 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.10'
  49.     testCompile 'org.jetbrains.kotlin:kotlin-test:1.3.10'
  50. }
  51.  
  52. group = 'io.wsd.busenforcer'
  53. version = '0.0.1-SNAPSHOT'
  54. sourceCompatibility = '1.8'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement