aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Gagnaux <tgagnaux@gmail.com>2021-07-14 13:57:09 +0200
committerThibault Gagnaux <tgagnaux@gmail.com>2021-07-14 13:57:09 +0200
commitfae0e640c7143d2c090e5f510a7c3e6d6f382e5f (patch)
tree143b4d2044b6f91fabb2e8f75849019f2ed2808b
parentce39d8f5cdfae2788c4664e08d895afead76c682 (diff)
downloadfrege-gradle-plugin-fae0e640c7143d2c090e5f510a7c3e6d6f382e5f.tar.gz
frege-gradle-plugin-fae0e640c7143d2c090e5f510a7c3e6d6f382e5f.tar.bz2
frege-gradle-plugin-fae0e640c7143d2c090e5f510a7c3e6d6f382e5f.zip
chore: adds `maven-publish` plugin to publish to `mavenLocal` repof-simple-javaExec-task-alternative
-rw-r--r--build.gradle10
-rw-r--r--gradle.properties2
2 files changed, 7 insertions, 5 deletions
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
}
diff --git a/gradle.properties b/gradle.properties
new file mode 100644
index 0000000..cae3d07
--- /dev/null
+++ b/gradle.properties
@@ -0,0 +1,2 @@
+group = ch.fhnw.thga
+version = 1.0.0-alpha \ No newline at end of file