diff --git a/README.md b/README.md index 15289b5..77d958d 100644 --- a/README.md +++ b/README.md @@ -15,40 +15,40 @@ Please note that files are still being moved around - the project should be stab Step 1. Add the JitPack repository to your build file ```xml - - - jitpack.io - https://jitpack.io - - + + + jitpack.io + https://jitpack.io + + ``` Step 2. Add the dependency ```xml - com.github.gilokimu - woodroid - 0.1.0 - + com.github.gilokimu + woodroid + 0.1.0 + ``` ### Gradle dependency: Step 1. Add the JitPack repository to your build file -```xml - allprojects { - repositories { - ... - maven { url 'https://jitpack.io' } - } +```gradle +allprojects { + repositories { + ... + maven { url 'https://jitpack.io' } } +} ``` Step 2. Add the dependency -```xml - dependencies { - implementation 'com.github.gilokimu:woodroid:0.1.0' - } +```gradle +dependencies { + implementation 'com.github.gilokimu:woodroid:0.1.0' +} ``` ## Getting started @@ -63,19 +63,19 @@ Check out the WooCommerce API endpoints and data that can be manipulated in > { +woocommerce.ProductRepository().products().enqueue(object : Callback> { override fun onResponse(call: Call>, response: Response>) { val productsResponse = response.body() for (product in productsResponse!!) {