2020-12-21 15:22:24 +01:00
|
|
|
/*
|
2024-09-24 09:42:07 +02:00
|
|
|
* Copyright (c) 2020 - present Cloudogu GmbH
|
2020-12-21 15:22:24 +01:00
|
|
|
*
|
2024-09-24 09:42:07 +02:00
|
|
|
* 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.
|
2020-12-21 15:22:24 +01:00
|
|
|
*
|
2024-09-24 09:42:07 +02:00
|
|
|
* 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.
|
2020-12-21 15:22:24 +01:00
|
|
|
*
|
2024-09-24 09:42:07 +02:00
|
|
|
* 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/.
|
2020-12-21 15:22:24 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
|
id 'java-gradle-plugin'
|
|
|
|
|
id 'groovy'
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-04 15:07:20 +01:00
|
|
|
apply from: file( '../gradle/dependencies.gradle' )
|
|
|
|
|
|
2020-12-21 15:22:24 +01:00
|
|
|
dependencies {
|
2020-12-22 09:26:20 +01:00
|
|
|
implementation gradleApi()
|
|
|
|
|
implementation 'com.github.node-gradle:gradle-node-plugin:2.2.4'
|
2021-11-29 09:05:24 +01:00
|
|
|
implementation 'org.scm-manager:gradle-license-plugin:0.7.1'
|
2021-01-06 17:34:24 +01:00
|
|
|
|
2021-01-04 15:07:20 +01:00
|
|
|
implementation libraries.guava
|
|
|
|
|
implementation libraries.jettyServer
|
|
|
|
|
implementation libraries.jettyWebapp
|
2021-01-08 15:06:34 +01:00
|
|
|
implementation libraries.jettyClient
|
2021-01-05 16:21:47 +01:00
|
|
|
|
|
|
|
|
implementation libraries.snakeYml
|
2020-12-21 15:22:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
gradlePlugin {
|
|
|
|
|
// Define the plugin
|
|
|
|
|
plugins {
|
2021-01-06 11:41:13 +01:00
|
|
|
javaModule {
|
|
|
|
|
id = 'org.scm-manager.java'
|
|
|
|
|
implementationClass = 'com.cloudogu.scm.JavaModulePlugin'
|
|
|
|
|
}
|
2020-12-22 10:21:59 +01:00
|
|
|
buildInfo {
|
|
|
|
|
id = 'org.scm-manager.build-info'
|
|
|
|
|
implementationClass = 'com.cloudogu.scm.BuildInfoPlugin'
|
|
|
|
|
}
|
2020-12-21 15:22:24 +01:00
|
|
|
corePlugins {
|
|
|
|
|
id = 'org.scm-manager.core-plugins'
|
|
|
|
|
implementationClass = 'com.cloudogu.scm.CorePluginsGradlePlugin'
|
|
|
|
|
}
|
2020-12-22 09:26:20 +01:00
|
|
|
serve {
|
2021-01-11 16:28:17 +01:00
|
|
|
id = 'org.scm-manager.run'
|
|
|
|
|
implementationClass = 'com.cloudogu.scm.RunPlugin'
|
2020-12-22 09:26:20 +01:00
|
|
|
}
|
2020-12-23 16:33:35 +01:00
|
|
|
integrationTest {
|
|
|
|
|
id = 'org.scm-manager.integration-tests'
|
|
|
|
|
implementationClass = 'com.cloudogu.scm.IntegrationTestPlugin'
|
|
|
|
|
}
|
2021-01-05 11:08:05 +01:00
|
|
|
packaging {
|
|
|
|
|
id = 'org.scm-manager.packaging'
|
|
|
|
|
implementationClass = 'com.cloudogu.scm.PackagingPlugin'
|
|
|
|
|
}
|
2021-01-13 15:37:57 +01:00
|
|
|
ci {
|
|
|
|
|
id = 'org.scm-manager.ci'
|
|
|
|
|
implementationClass = 'com.cloudogu.scm.CIPlugin'
|
|
|
|
|
}
|
2020-12-21 15:22:24 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
|
maven {
|
|
|
|
|
url "https://packages.scm-manager.org/repository/public/"
|
|
|
|
|
}
|
2020-12-22 09:26:20 +01:00
|
|
|
maven {
|
|
|
|
|
url 'https://plugins.gradle.org/m2/'
|
|
|
|
|
}
|
2020-12-21 15:22:24 +01:00
|
|
|
}
|