2024-10-16 11:55:56 +08:00
|
|
|
plugins {
|
2024-10-17 06:30:58 +08:00
|
|
|
id 'groovy-gradle-plugin' //groovy DSL
|
|
|
|
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-16 11:55:56 +08:00
|
|
|
}
|
|
|
|
|
2024-10-17 06:30:58 +08:00
|
|
|
// https://docs.gradle.org/current/userguide/publishing_gradle_module_metadata.html#sub:disabling-gmm-publication
|
|
|
|
tasks.withType(GenerateModuleMetadata) {
|
|
|
|
enabled = false
|
|
|
|
}
|