This repository has been archived on 2024-06-08. You can view files and clone it, but cannot push or open issues or pull requests.
tachiyomi/build.gradle.kts

41 lines
1.2 KiB
Text
Raw Normal View History

plugins {
2020-04-25 18:30:14 +00:00
id("com.android.application") version BuildPluginsVersion.AGP apply false
id("com.android.library") version BuildPluginsVersion.AGP apply false
kotlin("android") version BuildPluginsVersion.KOTLIN apply false
2020-09-14 14:46:31 +00:00
id("org.jmailen.kotlinter") version BuildPluginsVersion.KOTLINTER
2020-04-25 18:30:14 +00:00
id("com.github.ben-manes.versions") version BuildPluginsVersion.VERSIONS_PLUGIN
}
2015-09-24 15:27:43 +00:00
2020-04-25 18:30:14 +00:00
allprojects {
2015-09-24 15:27:43 +00:00
repositories {
2020-07-18 19:01:13 +00:00
mavenCentral()
google()
2020-04-25 18:30:14 +00:00
maven { setUrl("https://www.jitpack.io") }
jcenter()
2015-09-24 15:27:43 +00:00
}
2020-04-25 18:30:14 +00:00
}
subprojects {
apply(plugin = "org.jmailen.kotlinter")
2020-04-25 18:30:14 +00:00
kotlinter {
experimentalRules = true
2021-04-11 22:16:15 +00:00
// Doesn't play well with Android Studio
disabledRules = arrayOf("experimental:argument-list-wrapping")
2020-04-25 18:30:14 +00:00
}
}
buildscript {
2015-09-24 15:27:43 +00:00
dependencies {
classpath("com.github.zellius:android-shortcut-gradle-plugin:0.1.2")
2021-08-06 17:40:01 +00:00
classpath("com.google.gms:google-services:4.3.9")
classpath("com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:${BuildPluginsVersion.ABOUTLIB_PLUGIN}")
classpath(kotlin("serialization", version = BuildPluginsVersion.KOTLIN))
2015-09-24 15:27:43 +00:00
}
2016-10-11 15:04:47 +00:00
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}