Improvement: Publish to gradle plugin portal (#485)
Publish plugins to gradle plugin portal
This commit is contained in:
parent
3820e4c13d
commit
ac1019f247
2 changed files with 9 additions and 19 deletions
23
build.gradle
23
build.gradle
|
@ -38,17 +38,15 @@ apply plugin: 'java-gradle-plugin'
|
|||
apply plugin: 'groovy'
|
||||
apply plugin: 'idea'
|
||||
|
||||
apply plugin: 'com.gradle.plugin-publish'
|
||||
apply plugin: 'com.palantir.baseline'
|
||||
apply plugin: 'com.palantir.baseline-java-versions'
|
||||
apply plugin: 'com.palantir.consistent-versions'
|
||||
apply plugin: 'com.palantir.external-publish'
|
||||
apply plugin: 'com.palantir.external-publish-gradle-plugin'
|
||||
apply plugin: 'com.palantir.external-publish-jar'
|
||||
apply plugin: 'com.palantir.git-version'
|
||||
apply plugin: 'com.palantir.java-format'
|
||||
apply plugin: 'nebula.maven-publish'
|
||||
apply plugin: 'nebula.source-jar'
|
||||
apply plugin: 'org.inferred.processors'
|
||||
apply plugin: 'com.palantir.jdks.latest'
|
||||
apply plugin: 'org.inferred.processors'
|
||||
|
||||
group 'com.palantir.graal'
|
||||
version gitVersion()
|
||||
|
@ -67,12 +65,10 @@ dependencies {
|
|||
}
|
||||
|
||||
gradlePlugin {
|
||||
// do not add new task to publish to plugins.gradle.org
|
||||
automatedPublishing = false
|
||||
|
||||
plugins {
|
||||
graal {
|
||||
id = 'com.palantir.graal'
|
||||
displayName = 'Palantir Graal Plugin'
|
||||
implementationClass = 'com.palantir.gradle.graal.GradleGraalPlugin'
|
||||
}
|
||||
}
|
||||
|
@ -83,17 +79,6 @@ pluginBundle {
|
|||
vcsUrl = 'https://github.com/palantir/gradle-graal'
|
||||
description = 'A plugin for Gradle that adds tasks to download, extract and interact with GraalVM tooling.'
|
||||
tags = ['graal', 'native-image']
|
||||
|
||||
plugins {
|
||||
graal {
|
||||
id = 'com.palantir.graal'
|
||||
displayName = 'Palantir Graal Plugin'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
publishPlugins.onlyIf {
|
||||
versionDetails().isCleanTag
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
|
|
5
changelog/@unreleased/pr-485.v2.yml
Normal file
5
changelog/@unreleased/pr-485.v2.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
type: improvement
|
||||
improvement:
|
||||
description: Publish to gradle plugin portal
|
||||
links:
|
||||
- https://github.com/palantir/gradle-graal/pull/485
|
Loading…
Reference in a new issue