-
Notifications
You must be signed in to change notification settings - Fork 197
/
build.gradle.kts
64 lines (56 loc) · 2.31 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* Copyright (c) 2022-2022 Martin Denham, Tuomas Airaksinen and the AndBible contributors.
*
* This file is part of AndBible: Bible Study (http://github.com/AndBible/and-bible).
*
* AndBible is free software: you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software Foundation,
* either version 3 of the License, or (at your option) any later version.
*
* AndBible is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with AndBible.
* If not, see http://www.gnu.org/licenses/.
*/
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.google.devtools.ksp") version "2.0.0-1.0.21" apply false
}
buildscript {
val kotlinVersion by extra("2.0.0")
val coroutinesVersion by extra("1.8.1")
val roomVersion by extra("2.6.1")
val jdomVersion by extra("2.0.6.1") // make sure this is same version as in jsword!
val commonsTextVersion by extra("1.9") // 1.10.0 crashes on Android 5.1
val kotlinxSerializationVersion by extra("1.6.3")
val sourceCompatibilityVersion by extra(JavaVersion.VERSION_17)
val targetCompatibilityVersion by extra(JavaVersion.VERSION_17)
val jvmTargetVersion by extra("17")
val jvmToolChainVersion by extra(17)
val coreKtxVersion by extra("1.13.1")
val sqliteAndroidVersion by extra("3.42.0")
val jswordVersion by extra("2.4.15")
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:8.7.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.21")
classpath("org.jetbrains.kotlin:kotlin-serialization:$kotlinVersion")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory.get().asFile)
}