-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
42 lines (37 loc) · 1011 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* Copyright © 2021-2024 Matt Robinson
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:8.7.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.21")
}
}
plugins {
id("org.jlleitschuh.gradle.ktlint") version "12.1.1"
}
allprojects {
apply(plugin = "org.jlleitschuh.gradle.ktlint")
repositories {
google()
mavenCentral()
maven {
url = uri("https://maven.pkg.github.com/ribbons/android-rsync")
credentials {
username = project.findProperty("gpr.user") as String?
?: System.getenv("PKG_USERNAME")
password = project.findProperty("gpr.key") as String?
?: System.getenv("PKG_TOKEN")
}
}
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.layout.buildDirectory)
}