Skip to content

Commit

Permalink
WIP Fix missing publication of artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
ascheman committed Jan 26, 2024
1 parent 76d9578 commit 2d77987
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion htmlSanityCheck-core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.apache.tools.ant.filters.ReplaceTokens

dependencies {
implementation libs.slf4j.api
testImplementation libs.slf4j.nop
Expand All @@ -8,6 +10,14 @@ dependencies {
implementation 'org.codehaus.groovy:groovy-dateutil'
}

publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}

tasks.register('copyResourceImages', Copy) {
from('src/main/resources') {
include '**/*.png'
Expand All @@ -20,7 +30,7 @@ processResources {

exclude '**/*.png'
inputs.property "version", project.version
filter(org.apache.tools.ant.filters.ReplaceTokens, tokens: [version: project.version])
filter ReplaceTokens, tokens: [version: project.version]
println "after processResources config, version= ${project.version}"
}

Expand Down

0 comments on commit 2d77987

Please sign in to comment.