-
Notifications
You must be signed in to change notification settings - Fork 6
/
spring-security-maven-plugin.gradle
42 lines (36 loc) · 1.28 KB
/
spring-security-maven-plugin.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
plugins {
id "io.spring.convention.spring-gradle-plugin"
id "com.gradle.plugin-publish" version "1.2.1"
}
gradlePlugin {
website = "https://github.com/spring-io/spring-security-release-tools/tree/main/maven-plugin"
vcsUrl = "https://github.com/spring-io/spring-security-release-tools.git"
plugins {
springSecurityMavenPlugin {
id = "io.spring.security.maven"
displayName = "Spring Security Maven Plugin"
description = "Spring Security Maven Plugin is a Gradle plugin that provides tasks for publishing releases to Maven Central (Sonatype) and Spring (Artifactory) repositories."
tags.addAll("spring", "maven", "nexus", "artifactory")
implementationClass = "io.spring.gradle.plugin.maven.SpringMavenPlugin"
}
}
}
artifactory {
publish {
defaults {
publications("pluginMaven", "springSecurityMavenPluginPluginMarkerMaven")
}
}
}
repositories {
gradlePluginPortal()
}
dependencies {
management platform(project(":dependencies"))
implementation "io.github.gradle-nexus:publish-plugin:2.0.0"
implementation "org.jfrog.buildinfo:build-info-extractor-gradle:5.2.0"
testImplementation "org.junit.jupiter:junit-jupiter"
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
testImplementation "org.assertj:assertj-core"
testImplementation "org.mockito:mockito-core"
}