Skip to content

Commit

Permalink
Updated proper publishing settings for the new plugin version
Browse files Browse the repository at this point in the history
  • Loading branch information
btkelly committed Oct 31, 2024
1 parent 678d499 commit d731e92
Show file tree
Hide file tree
Showing 61 changed files with 204 additions and 144 deletions.
20 changes: 3 additions & 17 deletions plugin/build.gradle → gnag/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
plugins {
id 'maven-publish'
id 'java-gradle-plugin'
id "com.gradle.plugin-publish" version "1.3.0"
}

apply plugin: 'groovy'
apply from: file('../version.gradle')

group 'com.btkelly'
group 'com.btkelly.gnag'
version gnagPluginVersion

repositories {
Expand Down Expand Up @@ -41,29 +40,16 @@ java {
withSourcesJar()
}

publishing {
publications {
GnagPublication(MavenPublication) {
from components.java
artifactId gnagArtifactId
}
}
}

pluginBundle {
gradlePlugin {
website = gnagWebsite
vcsUrl = gnagGitUrl
tags = gnagLabels
}

gradlePlugin {
plugins {
gnagPlugin {
id = gnagPackageId
version = gnagPluginVersion
displayName = gnagPluginName
description = gnagDescription
implementationClass = "com.btkelly.gnag.GnagPlugin"
tags = gnagLabels
}
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 3 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit d731e92

Please sign in to comment.