add: import code
портирован и слегка подправлен код из старого репозитория https://di9.ru/git/Voomra/Conventional-Commits
This commit is contained in:
34
build.gradle
Normal file
34
build.gradle
Normal file
@@ -0,0 +1,34 @@
|
||||
plugins {
|
||||
id("groovy")
|
||||
id("java-gradle-plugin")
|
||||
id("maven-publish")
|
||||
}
|
||||
|
||||
wrapper {
|
||||
gradleVersion = "8.10"
|
||||
distributionType = Wrapper.DistributionType.BIN
|
||||
}
|
||||
|
||||
project.group = "ru.di9.gradle"
|
||||
project.version = "1.1"
|
||||
|
||||
gradlePlugin.plugins {
|
||||
commitlintPlugin {
|
||||
id = "ru.di9.commitlint"
|
||||
displayName = "commitlint plugin"
|
||||
description = "Simple commitlint plugin"
|
||||
implementationClass = "ru.di9.gradle.commitlint.CommitLintPlugin"
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
mavenBinary(MavenPublication) {
|
||||
groupId = project.group
|
||||
artifactId = project.name
|
||||
version = project.version
|
||||
|
||||
from components.java
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user