diff --git a/README.md b/README.md index 0871a24..2b25b77 100644 --- a/README.md +++ b/README.md @@ -77,41 +77,45 @@ allprojects { #### Groovy Gradle - dependencies { - // library frogo-sdk - implementation 'com.github.frogobox:frogo-sdk:2.2.8' +```groovy +dependencies { + // library frogo-sdk + implementation 'com.github.frogobox:frogo-sdk:2.2.8' - // library frogo-sdk for desktop - implementation 'com.github.frogobox.frogo-sdk:core-sdk:2.2.8' - } + // library frogo-sdk for desktop + implementation 'com.github.frogobox.frogo-sdk:core-sdk:2.2.8' +} +``` #### Kotlin DSL Gradle - dependencies { - // library frogo-sdk - implementation("com.github.frogobox:frogo-sdk:2.2.8") +```groovy +dependencies { + // library frogo-sdk + implementation("com.github.frogobox:frogo-sdk:2.2.8") - // library frogo-sdk for desktop - implementation("com.github.frogobox.frogo-sdk:core-sdk:2.2.8") - } + // library frogo-sdk for desktop + implementation("com.github.frogobox.frogo-sdk:core-sdk:2.2.8") +} +``` #### libs.versions.toml +```yml +[versions] +frogosdk = "2.2.8" - [versions] - frogosdk = "2.2.8" +[libraries] +frogo-sdk = { group = "com.github.frogobox", name = "frogo-sdk", version.ref = "frogosdk" } +frogo-sdk-core = { group = "com.github.frogobox.frogo-sdk", name = "core-sdk", version.ref = "frogosdk" } - [libraries] - frogo-sdk = { group = "com.github.frogobox", name = "frogo-sdk", version.ref = "frogosdk" } - frogo-sdk-core = { group = "com.github.frogobox.frogo-sdk", name = "core-sdk", version.ref = "frogosdk" } - - dependencies { - // library frogo-sdk - implementation(libs.frogo.sdk) - - // library frogo-sdk for desktop - implementation(libs.frogo.sdk.core) - } +dependencies { + // library frogo-sdk + implementation(libs.frogo.sdk) + // library frogo-sdk for desktop + implementation(libs.frogo.sdk.core) +} +``` ### Step 3. Function from this SDK #### All Class SDK (android)