Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
90 lines (69 sloc) 3.49 KB
/*
* Copyright 2018 Nazmul Idris. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
object GradlePlugins {
data class Versions(val gradle: String = "3.3.0",
val kotlin: String = "1.3.20",
val junit5: String = "1.2.0.0")
val versions = Versions()
val gradle = "com.android.tools.build:gradle:${versions.gradle}"
val kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
val junit5 = "de.mannodermaus.gradle.plugins:android-junit5:${versions.junit5}"
}
object Versions {
val compile_sdk = 28
val target_sdk = 26
val min_sdk = 16
}
object Deps {
data class Versions(val arch_comp: String = "2.0.0",
val design: String = "1.0.0",
val gson: String = "2.8.5",
val gms: String = "16.0.0",
val places: String = "1.0.0",
val dagger2: String = "2.17",
val junit5: String = "5.2.0",
val crayon: String = "0.1.0")
val versions = Versions()
val kotlin_stdlib_jdk8 =
"org.jetbrains.kotlin:kotlin-stdlib-jdk8:${GradlePlugins.versions.kotlin}"
val arch_comp = "androidx.lifecycle:lifecycle-extensions:${versions.arch_comp}"
val arch_comp_annotation = "androidx.lifecycle:lifecycle-compiler:${versions.arch_comp}"
val material_design = "com.google.android.material:material:${versions.design}"
val vector_drawable = "androidx.vectordrawable:vectordrawable:${versions.design}"
val recycler_view = "androidx.recyclerview:recyclerview:${versions.design}"
val gms_places = "com.google.android.libraries.places:places-compat:${versions.places}"
val gms_location = "com.google.android.gms:play-services-location:${versions.gms}"
val gson = "com.google.code.gson:gson:${versions.gson}"
val dagger2 = "com.google.dagger:dagger:${versions.dagger2}"
val dagger2_annotation = "com.google.dagger:dagger-compiler:${versions.dagger2}"
val crayon = "com.importre:crayon:${versions.crayon}"
}
object TestingDeps {
data class Versions(val assertj: String = "3.11.1",
val junit5: String = "5.2.0",
val mockk: String = "1.8.9",
val roboelectric: String = "3.8",
val junit4: String = "4.12")
val versions = Versions()
val junit5_jupiter = "org.junit.jupiter:junit-jupiter-api:${versions.junit5}"
val junit5_jupiter_runtime = "org.junit.jupiter:junit-jupiter-engine:${versions.junit5}"
val junit5_jupiter_params = "org.junit.jupiter:junit-jupiter-params:${versions.junit5}"
val junit4_legacy = "junit:junit:${versions.junit4}"
val junit5_vintage = "org.junit.vintage:junit-vintage-engine:${versions.junit5}"
val assertj = "org.assertj:assertj-core:${versions.assertj}"
val mockk = "io.mockk:mockk:${versions.mockk}"
val roboelectric = "org.robolectric:robolectric:${versions.roboelectric}"
}
You can’t perform that action at this time.