Skip to content

Instantly share code, notes, and snippets.

@idodin
Created December 2, 2019 16:09
Show Gist options
  • Save idodin/d71be211d12ac8bdc92123ef842eb27d to your computer and use it in GitHub Desktop.
Save idodin/d71be211d12ac8bdc92123ef842eb27d to your computer and use it in GitHub Desktop.
Gradle Build
apply plugin: 'java'
apply plugin: 'application'
//apply plugin: 'junit-platform-gradle-plugin'
sourceCompatibility = 8
targetCompatibility = 8
// Versioning of dependencies
wrapper.gradleVersion = '5.6.2'
repositories {
jcenter()
mavenCentral()
}
mainClassName='ca.mcgill.ecse223.quoridor.QuoridorApplication'
jar {
manifest {
attributes "Main-Class": "$mainClassName"
}
}
dependencies {
testImplementation "io.cucumber:cucumber-java:4.7.2"
testImplementation "io.cucumber:cucumber-junit:4.7.2"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.5.0"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.5.0"
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.5.0"
}
test {
useJUnitPlatform()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment