From 290e7decd80400d08f5904d7827c0c09b4494674 Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Fri, 18 Dec 2020 16:03:42 +0100 Subject: [PATCH] Migrate module scm-dao-xml --- scm-core/build.gradle | 3 ++- scm-dao-xml/build.gradle | 43 ++++++++++++++++++++++++++++++++++++++++ settings.gradle | 3 +++ 3 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 scm-dao-xml/build.gradle diff --git a/scm-core/build.gradle b/scm-core/build.gradle index 3b5af7e978..c1ef037de7 100644 --- a/scm-core/build.gradle +++ b/scm-core/build.gradle @@ -41,7 +41,8 @@ dependencies { // lombok compileOnly 'org.projectlombok:lombok' - annotationProcessor 'org.projectlombok:lombok' + // TODO version from parent + annotationProcessor 'org.projectlombok:lombok:1.18.10' // servlet api implementation 'javax.servlet:javax.servlet-api' diff --git a/scm-dao-xml/build.gradle b/scm-dao-xml/build.gradle new file mode 100644 index 0000000000..41378b59bc --- /dev/null +++ b/scm-dao-xml/build.gradle @@ -0,0 +1,43 @@ +/* + * MIT License + * + * Copyright (c) 2020-present Cloudogu GmbH and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +plugins { + id 'java-library' +} + +dependencies { + api platform(project(':')) + + api project(':scm-core') + testImplementation project(':scm-test') + + // lombok + compileOnly 'org.projectlombok:lombok' + // TODO version from parent + annotationProcessor 'org.projectlombok:lombok:1.18.10' +} + +test { + useJUnitPlatform() +} diff --git a/settings.gradle b/settings.gradle index 5e38a649b0..7a14f8f648 100644 --- a/settings.gradle +++ b/settings.gradle @@ -28,3 +28,6 @@ include('scm-annotations') include('scm-annotation-processor') include('scm-core') include('scm-test') +// include('scm-ui') +// include('scm-plugins') +include('scm-dao-xml')