
templates.build.gradle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jason Show documentation
Show all versions of jason Show documentation
Jason is a programming language to develop BDI/cognitive agents
The newest version!
/*
Project
Gradle build file for Jason Application
*/
defaultTasks 'run'
apply plugin: 'java'
apply plugin: 'eclipse'
version '1.0'
group 'org.jason'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(15)
}
}
repositories {
mavenCentral()
//maven { url "http://jacamo.sourceforge.net/maven2" }
maven { url "https://raw.githubusercontent.com/jacamo-lang/mvn-repo/master" }
maven { url "https://jade.tilab.com/maven/" }
flatDir { dirs 'lib' }
}
dependencies {
implementation('org.jason:jason:')
}
sourceSets {
main {
java {
srcDir 'src/java'
}
resources {
srcDir 'src/resources'
}
}
}
task run (type: JavaExec, dependsOn: 'classes') {
description 'runs the application'
main = ''
args ''
// options:
// args = ['', '--debug']
// args = ['', '--log-conf', 'l.p'] // to use file l.p to configure logging
classpath sourceSets.main.runtimeClasspath
}
clean {
delete 'bin'
delete 'build'
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy