https://github.com/xcsp3team/ace
Tip revision: 8aa0adf3e5fb14e238984ebfafdf6a0a3e78148d authored by lecoutre on 21 January 2023, 13:26:58 UTC
Fixed problem with a case of constraint Cumulative
Fixed problem with a case of constraint Cumulative
Tip revision: 8aa0adf
build.gradle
apply plugin: 'java'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
//sourceCompatibility = 1.11
//targetCompatibility = 1.11
archivesBaseName = "ACE"
version = '2.1'
repositories {
mavenCentral()
}
dependencies {
implementation fileTree(dir: 'lib', include: ['*.jar'])
testImplementation 'junit:junit:4.12'
}
// with this statement below (jar { }), we build a fat jar, i.e. a jar with included dependencies
jar {
manifest {
attributes(
'Main-Class': 'main.Head'
)
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
test {
//executable = "/path/to/jdk/bin/java"
// show standard out and standard error of the test JVM(s) on the console
testLogging.showStandardStreams = true
// set heap size for the test JVM(s)
minHeapSize = "128m"
maxHeapSize = "1024m"
// set JVM arguments for the test JVM(s)
jvmArgs "-da"
jvmArgs "-Xmx12G" // -d64
}