comparison build.gradle @ 35:80e46acfd82a version-0.4.6 tip

Add publishing configuration for publishToMavenLocal task :
author Kyle Miller <kyle.miller@mcoecn.org>
date Tue, 09 Aug 2022 13:05:45 +0100
parents 30f522dca380
children
comparison
equal deleted inserted replaced
34:30f522dca380 35:80e46acfd82a
23 23
24 repositories { 24 repositories {
25 maven { url 'https://docker.ssdt.io/artifactory/ssdt-repo' } 25 maven { url 'https://docker.ssdt.io/artifactory/ssdt-repo' }
26 } 26 }
27 27
28 // Called by Gradle task publishToMavenLocal
29 // POM file gets published to: $USER_HOME\.m2\repository\org\ssdt_ohio\ssdt.gradle\$version
30 publishing {
31 publications {
32 maven(MavenPublication) {
33 groupId = "${group}"
34 artifactId = "ssdt.gradle"
35 version = "${version}"
36 from components.java
37 }
38 }
39 }
40
28 dependencies { 41 dependencies {
29 implementation localGroovy() 42 implementation localGroovy()
30 implementation gradleApi() 43 implementation gradleApi()
31 implementation "org.asciidoctor:asciidoctorj:1.5.4" 44 implementation "org.asciidoctor:asciidoctorj:1.5.4"
32 implementation 'org.apache.commons:commons-lang3:3.4' 45 implementation 'org.apache.commons:commons-lang3:3.4'