Skip to content

Commit

Permalink
Add single-parameter syntax for com.kosherjava:zmanim dependency (#210)
Browse files Browse the repository at this point in the history
* Add single-parameter syntax for com.kosherjava:zmanim dependency

In the single-parameter syntax, you can directly specify the dependency coordinates as a string enclosed in parentheses. The group, name, and version are separated by colons (":").

This syntax is supported in Kotlin build scripts, including Gradle Kotlin DSL (.kts) files, where you can use it to simplify dependency declarations.

Please note that the original code you provided is using Groovy syntax for Gradle build scripts, where the dependency is declared using named arguments. The single-parameter syntax is specific to Kotlin build scripts.

* Update README.md
  • Loading branch information
elfifo4 committed Jun 28, 2023
1 parent 2ad954f commit d24323b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ Add the following to your `build.gradle` file:
```groovy
implementation group: 'com.kosherjava', name: 'zmanim', version: '2.5.0'
```
Or if you have `build.gradle.kts` file:

```kotlin
implementation("com.kosherjava:zmanim:2.5.0")
```


License
-------
Expand Down

0 comments on commit d24323b

Please sign in to comment.