Skip to content

Commit d24323b

Browse files
authored
Add single-parameter syntax for com.kosherjava:zmanim dependency (#210)
* 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
1 parent 2ad954f commit d24323b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ Add the following to your `build.gradle` file:
3333
```groovy
3434
implementation group: 'com.kosherjava', name: 'zmanim', version: '2.5.0'
3535
```
36+
Or if you have `build.gradle.kts` file:
37+
38+
```kotlin
39+
implementation("com.kosherjava:zmanim:2.5.0")
40+
```
41+
3642

3743
License
3844
-------

0 commit comments

Comments
 (0)