|
| 1 | +/* |
| 2 | + * Copyright 2020 The Android Open Source Project |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
| 16 | + |
| 17 | +package com.example.jetsnack.buildsrc |
| 18 | + |
| 19 | +object Versions { |
| 20 | + const val ktlint = "0.37.0" |
| 21 | +} |
| 22 | + |
| 23 | +object Libs { |
| 24 | + const val androidGradlePlugin = "com.android.tools.build:gradle:4.2.0-alpha03" |
| 25 | + const val junit = "junit:junit:4.13" |
| 26 | + |
| 27 | + object Accompanist { |
| 28 | + private const val version = "0.1.7.ui-${AndroidX.UI.snapshot}-SNAPSHOT" |
| 29 | + const val coil = "dev.chrisbanes.accompanist:accompanist-coil:$version" |
| 30 | + } |
| 31 | + |
| 32 | + object Kotlin { |
| 33 | + private const val version = "1.3.72" |
| 34 | + const val stdlib = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$version" |
| 35 | + const val gradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$version" |
| 36 | + const val extensions = "org.jetbrains.kotlin:kotlin-android-extensions:$version" |
| 37 | + } |
| 38 | + |
| 39 | + object Coroutines { |
| 40 | + private const val version = "1.3.7" |
| 41 | + const val core = "org.jetbrains.kotlinx:kotlinx-coroutines-core:$version" |
| 42 | + const val android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$version" |
| 43 | + const val test = "org.jetbrains.kotlinx:kotlinx-coroutines-test:$version" |
| 44 | + } |
| 45 | + |
| 46 | + object AndroidX { |
| 47 | + const val appcompat = "androidx.appcompat:appcompat:1.3.0-alpha01" |
| 48 | + const val coreKtx = "androidx.core:core-ktx:1.5.0-alpha01" |
| 49 | + |
| 50 | + object UI { |
| 51 | + const val snapshot = "6602655" |
| 52 | + const val version = "0.1.0-SNAPSHOT" |
| 53 | + |
| 54 | + const val core = "androidx.ui:ui-core:$version" |
| 55 | + const val layout = "androidx.ui:ui-layout:$version" |
| 56 | + const val material = "androidx.ui:ui-material:$version" |
| 57 | + const val tooling = "androidx.ui:ui-tooling:$version" |
| 58 | + const val iconsExtended = "androidx.ui:ui-material-icons-extended:$version" |
| 59 | + } |
| 60 | + |
| 61 | + object Compose { |
| 62 | + const val version = UI.version |
| 63 | + const val kotlinCompilerVersion = "1.3.70-dev-withExperimentalGoogleExtensions-20200424" |
| 64 | + |
| 65 | + const val runtime = "androidx.compose:compose-runtime:$version" |
| 66 | + } |
| 67 | + |
| 68 | + object Test { |
| 69 | + private const val version = "1.2.0" |
| 70 | + const val core = "androidx.test:core:$version" |
| 71 | + const val rules = "androidx.test:rules:$version" |
| 72 | + |
| 73 | + object Ext { |
| 74 | + private const val version = "1.1.2-rc01" |
| 75 | + const val junit = "androidx.test.ext:junit-ktx:$version" |
| 76 | + } |
| 77 | + |
| 78 | + const val espressoCore = "androidx.test.espresso:espresso-core:3.2.0" |
| 79 | + } |
| 80 | + } |
| 81 | +} |
0 commit comments