y9-build-logic/y9plugins/build.gradle

53 lines
2.3 KiB
Groovy
Raw Permalink Normal View History

2024-10-22 10:22:18 +08:00
import org.gradle.internal.composite.ChildBuildRegisteringSettingsLoader
2024-10-16 11:55:56 +08:00
plugins {
2024-10-22 10:22:18 +08:00
id 'groovy-gradle-plugin'
2024-10-17 06:30:58 +08:00
id 'com.gradle.plugin-publish' version '1.3.0' //这个plugin本身已经包含了Java-gradle-plugin和maven-publish
2024-10-16 11:55:56 +08:00
}
2024-10-17 06:30:58 +08:00
group = 'net.risesoft.y9'
version = '1.0'
2024-10-16 11:55:56 +08:00
gradlePlugin {
2024-10-17 06:30:58 +08:00
website = 'https://svn.youshengyun.com:3000/risesoft/y9-build-logic'
vcsUrl = 'https://svn.youshengyun.com:3000/risesoft/y9-build-logic'
2024-10-22 10:22:18 +08:00
plugins{
project.afterEvaluate {
removeIf { it.id.equals 'net.risesoft.y9.aspectj'}
register('y9aspectj') {
id = 'net.risesoft.y9.aspectj'
implementationClass = "NetRisesoftY9AspectjPlugin"
displayName = "Gradle convention plugin that using aspectj"
description = "Gradle convention plugin for y9digitalbase aspectj"
tags.addAll('y9','y9digitalbase','risesoft')
}
removeIf { it.id.equals 'net.risesoft.y9.docker'}
register('y9docker') {
id = 'net.risesoft.y9.docker'
implementationClass = "NetRisesoftY9DockerPlugin"
displayName = "Gradle convention plugin that using docker"
description = "Gradle convention plugin for y9digitalbase docker"
tags.addAll('y9','y9digitalbase','risesoft')
}
removeIf { it.id.equals 'net.risesoft.y9.java-conventions'}
register('y9javaConventions') {
id = 'net.risesoft.y9.java-conventions'
implementationClass = "NetRisesoftY9JavaConventionsPlugin"
displayName = "Gradle convention plugin that using java"
description = "Gradle convention plugin for y9digitalbase java convention"
tags.addAll('y9','y9digitalbase','risesoft')
}
2024-10-16 11:55:56 +08:00
2024-10-22 10:22:18 +08:00
removeIf { it.id.equals 'net.risesoft.y9.smart-doc'}
register('y9SmartDoc') {
id = 'net.risesoft.y9.smart-doc'
implementationClass = "NetRisesoftY9SmartDocPlugin"
displayName = "Gradle convention plugin that using smart doc"
description = "Gradle convention plugin for y9digitalbase smart doc"
tags.addAll('y9','y9digitalbase','risesoft')
}
}
}
2024-10-17 06:30:58 +08:00
}