From 2c34ce95533b7fe1d119811ab4ba48d23245cb69 Mon Sep 17 00:00:00 2001 From: rubenquadros Date: Tue, 7 May 2024 22:22:27 +0530 Subject: [PATCH] Prepare for release v0.0.2. --- README.md | 11 +++++++---- gradle/wrapper/gradle-wrapper.properties | 2 +- kovibes/build.gradle.kts | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f8d7430..1aa9741 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # KoVibes KoVibes is a Kotlin wrapper for the Spotify Web API. -[![Maven Central](https://img.shields.io/maven-central/v/io.github.rubenquadros/kovibes/0.0.1)](https://central.sonatype.com/artifact/io.github.rubenquadros/kovibes/0.0.1) +[![Maven Central](https://img.shields.io/maven-central/v/io.github.rubenquadros/kovibes/0.0.2)](https://central.sonatype.com/artifact/io.github.rubenquadros/kovibes/0.0.2) ![Github Actions](https://github.com/rubenquadros/kovibes/actions/workflows/main.yml/badge.svg?branch=main) [![codecov](https://codecov.io/github/rubenquadros/KoVibes/graph/badge.svg?token=UJ0687GJ7R)](https://codecov.io/github/rubenquadros/KoVibes) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) -[![Kotlin](https://img.shields.io/badge/Kotlin-1.9.22-blue.svg?style=flat&logo=kotlin)](https://kotlinlang.org) +[![Kotlin](https://img.shields.io/badge/Kotlin-1.9.23-blue.svg?style=flat&logo=kotlin)](https://kotlinlang.org) ## Usage :computer: Include the dependency @@ -25,15 +25,18 @@ implementation("io.github.rubenquadros:kovibes-jvm:{latest_version}") `KovibesApi` is the entry class. ```kotlin -val spotifyService: SpotifyService = KoVibesApi.createSpotifyService("id", "secret") +val config: Config = Config() +val spotifyService: SpotifyService = KoVibesApi.createSpotifyService("id", "secret", config) ``` `id` is the Client ID and `secret` is the Client Secret. +`config` is used to configure the logging level. If you do not provide your config then the default one is used. + To create your Client ID and Client Secret, please follow the [Spotify documentation][spotify-new-app-doc]. -The Client ID and Client Secret is required for authentication. +The Client ID and the Client Secret is required for authentication. `SpotifyService` is the interface which provides all the methods to fetch the Spotify data. diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 5b1ad9f..2722204 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Tue Feb 13 00:49:13 IST 2024 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/kovibes/build.gradle.kts b/kovibes/build.gradle.kts index 315de93..bf2e0ae 100644 --- a/kovibes/build.gradle.kts +++ b/kovibes/build.gradle.kts @@ -24,7 +24,7 @@ buildscript { } group = "io.github.rubenquadros" -version = "0.0.1" +version = "0.0.2" kotlin { applyDefaultHierarchyTemplate()