Skip to content

Instantly share code, notes, and snippets.

@felixklauke
Created September 21, 2018 06:53
Show Gist options
  • Save felixklauke/d41e8e274ed4273ecff581df3db7ae01 to your computer and use it in GitHub Desktop.
Save felixklauke/d41e8e274ed4273ecff581df3db7ae01 to your computer and use it in GitHub Desktop.
plugins {
id 'java'
}
group 'de.d3adspace'
version '1.0-SNAPSHOT'
allprojects {
apply plugin: 'java'
apply plugin: 'maven'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
/**
* Resolving local maven repository.
*/
mavenLocal()
/**
* Maven central repository.
*/
mavenCentral()
}
dependencies {
/**
* JUnit Jupiter as a testing framework.
*/
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.2.0'
/**
* JUnit Jupiter parameter configuration.
*/
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: '5.2.0'
/**
* JUnit Jupiter testing engine.
*/
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.2.0'
/**
* Vintage platform engine.
*/
testCompile group: 'org.junit.platform', name: 'junit-platform-engine', version: '1.2.0'
/**
* JUnit jupiter with mockito.
*/
testCompile group: 'org.mockito', name: 'mockito-junit-jupiter', version: '2.19.0'
/**
* Mockito for mocking.
*/
testCompile group: 'org.mockito', name: 'mockito-core', version: '2.19.0'
}
test {
useJUnitPlatform()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment