Files
SCM-Manager/scm-plugins/scm-hg-plugin/build.gradle
2024-09-24 09:42:07 +02:00

70 lines
1.7 KiB
Groovy

/*
* Copyright (c) 2020 - present Cloudogu GmbH
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation, version 3.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
plugins {
id 'org.scm-manager.smp' version '0.17.0'
}
dependencies {
implementation('org.javahg:javahg:1.0.0') {
exclude group: 'com.google.guava', module: 'guava'
exclude group: 'org.slf4j'
}
implementation libraries.commonsCompress
testImplementation libraries.shiroUnit
testImplementation libraries.logback
// validation api
testImplementation libraries.validator
testImplementation libraries.elApi
testImplementation libraries.elRuntime
testImplementation libraries.resteasyValidatorProvider
}
scmPlugin {
scmVersion = project.version
core = true
name = 'scm-hg-plugin'
displayName = 'Mercurial'
description = 'Plugin for the version control system Mercurial'
author = 'Cloudogu GmbH'
category = 'Source Code Management'
avatarUrl = '/images/hg-logo.png'
openapi {
packages = [
'sonia.scm.api.v2.resources'
]
}
}
task testJar(type: Jar) {
classifier = 'tests'
from sourceSets.test.output
}
configurations {
tests {
canBeConsumed = true
canBeResolved = false
}
}
artifacts {
tests(testJar)
}