Skip to content

Commit 3d48cc0

Browse files
committed
Remove grails-plugin.xml in favor of the generated plugin meta file
Set archiveClassifier to 'plugin' Add artifact grails-plugin.xml
1 parent f523aa6 commit 3d48cc0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

plugin/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jar {
6363
"Implementation-Version": projectVersion,
6464
"Implementation-Vendor": 'Grace Plugins')
6565
enabled = true
66-
archiveClassifier.set('')
66+
archiveClassifier.set('plugin')
6767
includeEmptyDirs = false
6868
}
6969

@@ -90,6 +90,10 @@ publishing {
9090

9191
from components.java
9292

93+
artifact source: "${project.buildDir}/classes/groovy/main/META-INF/grails-plugin.xml",
94+
classifier: "plugin",
95+
extension: 'xml'
96+
9397
pom {
9498
name = "Grace View Components"
9599
description = "A Grace plugin for creating reusable, testable and encapsulated view components."

plugin/src/main/resources/META-INF/grails-plugin.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)