forked from keiyoushi/extensions-inspector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
48 lines (40 loc) · 1.18 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.kotlinter) apply false
alias(libs.plugins.buildconfig) apply false
alias(libs.plugins.shadowjar) apply false
}
allprojects {
group = "tachiyomi"
version = "1.0"
repositories {
mavenCentral()
maven("https://maven.google.com/")
maven("https://jitpack.io")
maven("https://dl.google.com/dl/android/maven2/")
maven("https://repo1.maven.org/maven2/")
maven("https://oss.sonatype.org/content/repositories/snapshots/")
}
}
val projects = listOf(
project(":AndroidCompat"),
project(":AndroidCompat:Config"),
project(":inspector")
)
configure(projects) {
apply(plugin = "org.jetbrains.kotlin.jvm")
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
}
}
dependencies {
implementation(rootProject.libs.bundles.common)
}
}