Elffuss BraidHub

kikocis/EDC public

main · 1.1 KiBRawPermalink
1/*
2 * Copyright (c) 2022 Microsoft Corporation
3 *
4 * This program and the accompanying materials are made available under the
5 * terms of the Apache License, Version 2.0 which is available at
6 * https://www.apache.org/licenses/LICENSE-2.0
7 *
8 * SPDX-License-Identifier: Apache-2.0
9 *
10 * Contributors:
11 * Microsoft Corporation - initial API and implementation
12 *
13 */
14
15
16plugins {
17 `java-library`
18}
19
20val javaVersion: String by project
21val edcScmUrl: String by project
22val edcScmConnection: String by project
23
24buildscript {
25 dependencies {
26 val version: String by project
27 classpath("org.eclipse.edc.edc-build:org.eclipse.edc.edc-build.gradle.plugin:$version")
28 }
29}
30
31allprojects {
32 apply(plugin = "${group}.edc-build")
33
34 configure<org.eclipse.edc.plugins.edcbuild.extensions.BuildExtension> {
35 pom {
36 scmUrl.set(edcScmUrl)
37 scmConnection.set(edcScmConnection)
38 }
39 }
40
41 configure<CheckstyleExtension> {
42 configFile = rootProject.file("resources/edc-checkstyle-config.xml")
43 configDirectory.set(rootProject.file("resources"))
44 }
45
46}