Skip to content

Commit

Permalink
Fix locations and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Hillelmed committed Apr 6, 2024
1 parent 6c2b7a5 commit 27892c7
Showing 1 changed file with 41 additions and 1 deletion.
42 changes: 41 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
id 'com.github.johnrengelman.shadow' version '7.1.1'
}

apply from: "$rootDir/gradle/publishing.gradle"
//apply from: "$rootDir/gradle/publishing.gradle"

repositories {
mavenCentral()
Expand Down Expand Up @@ -105,3 +105,43 @@ javadoc {
addStringOption('source', compatibilityVersion.toString().replaceAll(/.*\./, ""))
}
}

group = 'io.github.hillelmed'
version = '1.0.0'
description = 'Java client for working with Jenkins REST API'

publishing {
publications {
maven(MavenPublication) {
group = 'io.github.hillelmed'
version = '1.0.0'
description = 'Java client for working with Jenkins REST API'

from components.java
pom {
name = 'Jenkins rest client in java'
description = 'Java client for working with Jenkins REST API'
url = 'https://github.com/Hillelmed/jenkins-client-java'
packaging 'jar'
licenses {
license {
name = 'The MIT License (MIT)'
url = 'http://opensource.org/licenses/MIT'
}
}
developers {
developer {
id = 'HillelMed'
name = 'Hillel medioni'
email = 'hillel95med@gmail.com'
}
}
scm {
connection = 'scm:https://github.com/Hillelmed/jenkins-client-java.git'
developerConnection = 'scm:git://github.com/Hillelmed/jenkins-client-java.git'
url = 'https://github.com/Hillelmed/jenkins-client-java/'
}
}
}
}
}

0 comments on commit 27892c7

Please sign in to comment.