Skip to content

Instantly share code, notes, and snippets.

@yshrsmz
Created May 6, 2022 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yshrsmz/578a962af93b3150c84a7677350fca62 to your computer and use it in GitHub Desktop.
Save yshrsmz/578a962af93b3150c84a7677350fca62 to your computer and use it in GitHub Desktop.
Gradle plugins
buildscript {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
// https://github.com/Kotlin/kotlinx.atomicfu/issues/56
classpath "org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.17.2"
}
}
// root build.gradle
// plugins which shouldn't be enabled in root project need `apply false`
plugins {
id 'com.android.application' version '7.1.3' apply false
id 'com.android.library' version '7.1.3' apply false
id 'org.jetbrains.kotlin.android' version '1.6.21' apply false
id 'org.jetbrains.kotlin.jvm' version '1.6.21' apply false
id 'com.github.ben-manes.versions' version "0.42.0"
id 'org.jetbrains.kotlinx.kover' version '0.5.0'
id 'org.jlleitschuh.gradle.ktlint' version '10.3.0'
id 'com.google.dagger.hilt.android' version '2.41' apply false
id 'com.google.gms.google-services' version '4.3.10' apply false
id 'com.google.firebase.crashlytics' version '2.8.1' apply false
id 'androidx.navigation.safeargs' version '2.4.2' apply false
id 'com.getkeepsafe.dexcount' version '3.1.0'
id 'com.google.devtools.ksp' version '1.6.21-1.0.5'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment