Skip to content

Commit

Permalink
Update readme to use dsl, refine wording for Gradle config cache
Browse files Browse the repository at this point in the history
  • Loading branch information
pahill committed Oct 9, 2024
1 parent fd7f19f commit 5eb2a70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ To add the plugin to your project, add the following line in the plugins block,

In the same file, add the following configuration. Customize all these values appropriately for your library.

| `mavenPublishing {`<br>` publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)`<br>` signAllPublications()`<br>` coordinates("io.github.kotlin-hands-on", "fibonacci", "1.0.8")`<br>` pom {`<br>` name = "Fibonacci library"`<br>` description = "A mathematics calculation library."`<br>` inceptionYear = "2024"`<br>` url = "https://github.com/kotlin-hands-on/fibonacci/"`<br>` licenses {`<br>` license {`<br>` name = "The Apache License, Version 2.0"`<br>` url = "http://www.apache.org/licenses/LICENSE-2.0.txt"`<br>` distribution = "http://www.apache.org/licenses/LICENSE-2.0.txt"`<br>` }`<br>` }`<br>` developers {`<br>` developer {`<br>` id = "kotlin-hands-on"`<br>` name = "Kotlin Developer Advocate"`<br>` url = "https://github.com/kotlin-hands-on/"`<br>` }`<br>` }`<br>` scm {`<br>` url = "https://github.com/kotlin-hands-on/fibonacci/"`<br>` connection "scm:git:git://github.com/kotlin-hands-on/fibonacci.git"`<br>` developerConnection = "scm:git:ssh://[email protected]/kotlin-hands-on/fibonacci.git"`<br>` }`<br>`}` <br>`}` |
|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `mavenPublishing {`<br>` publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)`<br>` signAllPublications()`<br>` coordinates("io.github.kotlin-hands-on", "fibonacci", "1.0.8")`<br>` pom {`<br>` name = "Fibonacci library"`<br>` description = "A mathematics calculation library."`<br>` inceptionYear = "2024"`<br>` url = "https://github.com/kotlin-hands-on/fibonacci/"`<br>` licenses {`<br>` license {`<br>` name = "The Apache License, Version 2.0"`<br>` url = "http://www.apache.org/licenses/LICENSE-2.0.txt"`<br>` distribution = "http://www.apache.org/licenses/LICENSE-2.0.txt"`<br>` }`<br>` }`<br>` developers {`<br>` developer {`<br>` id = "kotlin-hands-on"`<br>` name = "Kotlin Developer Advocate"`<br>` url = "https://github.com/kotlin-hands-on/"`<br>` }`<br>` }`<br>` scm {`<br>` url = "https://github.com/kotlin-hands-on/fibonacci/"`<br>` connection "scm:git:git://github.com/kotlin-hands-on/fibonacci.git"`<br>` developerConnection = "scm:git:ssh://[email protected]/kotlin-hands-on/fibonacci.git"`<br>` }`<br>` }`<br>`}` |
|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|

Note that it’s also possible to use Gradle properties instead.

Expand Down

0 comments on commit 5eb2a70

Please sign in to comment.