-
H. Ambre Ayats authoredH. Ambre Ayats authored
build.gradle 957 B
plugins {
id 'java-library'
id 'idea'
}
repositories {
mavenCentral()
}
dependencies {
api 'org.apache.jena:apache-jena-libs:4.4.0'
}
sourceSets {
main {
java {
srcDirs = ['src']
}
}
}
sourceCompatibility = 11
targetCompatibility = 11
idea {
module {
downloadJavadoc = true
}
}
compileJava {
options.compilerArgs << '-Xlint:unchecked'
options.deprecation = true
}
jar {
manifest{
}
}
task runUnaryExample(type:JavaExec) {
classpath = files(configurations.getByName('runtimeClasspath').asPath + ":" + files(tasks.jar).asPath)
mainClass.set("connor.examples.UnaryExample")
args = ['data/royal.ttl','data/charlotte_example.json']
}
task runBinaryExample(type:JavaExec) {
classpath = files(configurations.getByName('runtimeClasspath').asPath + ":" + files(tasks.jar).asPath)
mainClass.set("connor.examples.BinaryExample")
args = ['data/royal.ttl','data/charlotte_kate_example.json']
}
wrapper {
gradleVersion = "7.4.2"
}