Skip to content

Commit

Permalink
Fix pom.name
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellix committed Feb 20, 2021
1 parent c3e9cd3 commit eedf872
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ There are multiple GitHub Action Workflows for the different steps in the packag

## License

MIT License

Copyright 2015-2021 [Tobias Gesellchen](https://www.gesellix.net/) ([@gesellix](https://twitter.com/gesellix))

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
15 changes: 4 additions & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
}
}

plugins {
id("maven-publish")
id("com.github.ben-manes.versions") version "0.36.0"
Expand All @@ -29,15 +22,15 @@ val dependencyVersions = listOf(
"org.squareup.okio:okio:2.9.0"
)

val dependencyGroupVersions = mapOf<String, String>()
val dependencyVersionsByGroup = mapOf<String, String>()

allprojects {
configurations.all {
resolutionStrategy {
failOnVersionConflict()
force(dependencyVersions)
eachDependency {
val forcedVersion = dependencyGroupVersions[requested.group]
val forcedVersion = dependencyVersionsByGroup[requested.group]
if (forcedVersion != null) {
useVersion(forcedVersion)
}
Expand All @@ -46,15 +39,15 @@ allprojects {
}
}

fun findProperty(s: String) = project.findProperty(s) as String?

tasks {
wrapper {
gradleVersion = "6.8.2"
distributionType = Wrapper.DistributionType.ALL
}
}

fun findProperty(s: String) = project.findProperty(s) as String?

val isSnapshot = project.version == "unspecified"
nexusPublishing {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ publishing {
publications {
register(publicationName, MavenPublication::class) {
pom {
name.set("docker-engine")
name.set("docker-client")
description.set("A Docker client for the JVM written in Groovy")
url.set("https://github.com/gesellix/docker-client")
licenses {
Expand Down

0 comments on commit eedf872

Please sign in to comment.