From 18a0bcb317cdff341e4e1f5570a509609b459aec Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Fri, 18 Dec 2020 14:46:01 +0100 Subject: [PATCH] Migrate module scm-test --- scm-test/build.gradle | 56 +++++++++++++++++++++++++++++++++++++++++++ settings.gradle | 1 + 2 files changed, 57 insertions(+) create mode 100644 scm-test/build.gradle diff --git a/scm-test/build.gradle b/scm-test/build.gradle new file mode 100644 index 0000000000..ecb0f441b9 --- /dev/null +++ b/scm-test/build.gradle @@ -0,0 +1,56 @@ +/* + * 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') + + // tests + api 'org.junit.jupiter:junit-jupiter-api' + api 'org.junit.jupiter:junit-jupiter-params' + api 'org.junit.jupiter:junit-jupiter-engine' + + // junit 4 support + api 'org.junit.vintage:junit-vintage-engine' + api 'junit:junit' + + // assertions + api 'org.hamcrest:hamcrest-core' + api 'org.hamcrest:hamcrest-library' + api 'org.assertj:assertj-core' + + // mocking + api 'org.mockito:mockito-core' + api 'org.mockito:mockito-junit-jupiter' + + // test rest api's + api 'org.jboss.resteasy:resteasy-core' + + // test servlet api + api 'javax.servlet:javax.servlet-api' +} diff --git a/settings.gradle b/settings.gradle index 6bd0d1a2e2..5e38a649b0 100644 --- a/settings.gradle +++ b/settings.gradle @@ -27,3 +27,4 @@ rootProject.name = 'scm' include('scm-annotations') include('scm-annotation-processor') include('scm-core') +include('scm-test')