From 0868b18b07fe4c1d4cd3612eae160806f1ac7700 Mon Sep 17 00:00:00 2001 From: Jay Ohms Date: Sun, 25 Feb 2024 13:40:11 -0500 Subject: [PATCH] Documentation cleanup --- docs/INSTALLATION.md | 13 +++++-------- docs/QUICK-START.md | 3 --- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/docs/INSTALLATION.md b/docs/INSTALLATION.md index bbf70fa3..35917321 100644 --- a/docs/INSTALLATION.md +++ b/docs/INSTALLATION.md @@ -4,8 +4,7 @@ Add the dependency from Maven Central to your app module's (not top-level) `build.gradle.kts` file: -```groovy - +```kotlin dependencies { implementation("dev.hotwire:turbo:") } @@ -15,17 +14,15 @@ dependencies { See the [latest version](https://search.maven.org/artifact/dev.hotwire/turbo) available on Maven Central. -_Note: As of May 1, 2021, artifacts will no longer be released to JCenter, since [it's shutting down](https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/)._ - ## Required `minSdkVersion` -Android SDK 34 (or greater) is required as the `minSdkVersion` in your app module's `build.gradle.kts` file: +Android SDK 26 (or greater) is required as the `minSdkVersion` in your app module's `build.gradle.kts` file: -```groovy +```kotlin compileSdk = 34 defaultConfig { - minSdkVersion = 34 + minSdkVersion = 26 targetSdk = 34 // ... } @@ -58,7 +55,7 @@ export GITHUB_ACCESS_TOKEN='' Add the GitHub Packages maven repository and the dependency to your app module's `build.gradle.kts` file: -```groovy +```kotlin repositories { maven { name = "GitHubPackages" diff --git a/docs/QUICK-START.md b/docs/QUICK-START.md index d9c4819e..630d97ca 100644 --- a/docs/QUICK-START.md +++ b/docs/QUICK-START.md @@ -22,7 +22,6 @@ The Turbo extension of this class, `TurboSessionNavHostFragment`, along with bei In its simplest form, the implementation of your `TurboSessionNavHostFragment` will look like: **`MainSessionNavHostFragment`:** - ```kotlin import dev.hotwire.turbo.session.TurboSessionNavHostFragment @@ -66,7 +65,6 @@ You need to create a layout resource file that your `TurboActivity` will use to Android Jetpack provides a [`FragmentContainerView`](https://developer.android.com/reference/androidx/fragment/app/FragmentContainerView) to contain `NavHostFragment` navigation. In its simplest form, your Activity layout file will look like: **`res/layout/activity_main.xml`:** - ```xml