import org.gradle.internal.composite.ChildBuildRegisteringSettingsLoader plugins { id 'groovy-gradle-plugin' id 'com.gradle.plugin-publish' version '1.3.0' //这个plugin本身已经包含了Java-gradle-plugin和maven-publish } group = 'net.risesoft.y9' version = '1.0' gradlePlugin { website = 'https://svn.youshengyun.com:3000/risesoft/y9-build-logic' vcsUrl = 'https://svn.youshengyun.com:3000/risesoft/y9-build-logic' 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') } 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') } } } }