From fae0e640c7143d2c090e5f510a7c3e6d6f382e5f Mon Sep 17 00:00:00 2001 From: Thibault Gagnaux Date: Wed, 14 Jul 2021 13:57:09 +0200 Subject: chore: adds `maven-publish` plugin to publish to `mavenLocal` repo --- build.gradle | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 9d7ac13..a30daed 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,12 @@ plugins { id 'java-gradle-plugin' + id 'maven-publish' } repositories { mavenCentral() } -group = 'ch.fhnw.thga' -version = '0.0.1-SNAPSHOT' - sourceSets { functionalTest { compileClasspath += sourceSets.main.output + sourceSets.test.output @@ -46,6 +44,8 @@ tasks.withType(Test).configureEach { } dependencies { - testImplementation('org.junit.jupiter:junit-jupiter-api:5.7.2') - testRuntimeOnly('org.junit.jupiter:junit-jupiter-engine:5.7.2') + def junit5Group = 'org.junit.jupiter' + def junit5Version = '5.7.2' + testImplementation group: junit5Group, name: 'junit-jupiter-api', version: junit5Version + testRuntimeOnly group: junit5Group, name: 'junit-jupiter-engine', version: junit5Version } -- cgit