aboutsummaryrefslogtreecommitdiffstats
path: root/buildSrc/src/main/groovy/org.onap.portalng.history.java-common-conventions.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'buildSrc/src/main/groovy/org.onap.portalng.history.java-common-conventions.gradle')
-rw-r--r--buildSrc/src/main/groovy/org.onap.portalng.history.java-common-conventions.gradle28
1 files changed, 28 insertions, 0 deletions
diff --git a/buildSrc/src/main/groovy/org.onap.portalng.history.java-common-conventions.gradle b/buildSrc/src/main/groovy/org.onap.portalng.history.java-common-conventions.gradle
new file mode 100644
index 0000000..ee5af57
--- /dev/null
+++ b/buildSrc/src/main/groovy/org.onap.portalng.history.java-common-conventions.gradle
@@ -0,0 +1,28 @@
+/*
+ * This file was generated by the Gradle 'init' task.
+ */
+
+plugins {
+ // Apply the java Plugin to add support for Java.
+ id 'java'
+ id 'idea'
+}
+
+repositories {
+maven {
+ url "https://plugins.gradle.org/m2/"
+ }
+ mavenCentral()
+}
+
+dependencies {
+ implementation 'org.springframework.boot:spring-boot-starter-webflux:3.1.2'
+
+ // Use JUnit Jupiter for testing.
+ testImplementation 'org.junit.jupiter:junit-jupiter:5.7.2'
+}
+
+tasks.named('test') {
+ // Use JUnit Platform for unit tests.
+ useJUnitPlatform()
+}