-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update readme to use dsl, refine wording for Gradle config cache
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
||
|