forked from tachiyomiorg/tachiyomi-extensions-inspector
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
81 lines (61 loc) · 1.91 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
alias(libs.plugins.buildconfig) apply false
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.kotlinter) apply false
alias(libs.plugins.shadow) apply false
}
allprojects {
group = "aniyomi"
version = "1.0"
}
val projects = listOf(
project(":AndroidCompat"),
project(":AndroidCompat:Config"),
project(":inspector"),
)
configure(projects) {
apply(plugin = "org.jetbrains.kotlin.jvm")
val javaVersion = JavaVersion.VERSION_17
java {
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
}
tasks.withType<KotlinCompile> {
compilerOptions {
jvmTarget.set(JvmTarget.fromTarget(javaVersion.toString()))
}
}
dependencies {
val libs = rootProject.libs
val androidcompat = rootProject.androidcompat
// Kotlin
implementation(kotlin("stdlib"))
implementation(kotlin("reflect"))
// :AndroidCompat:Config dependency
implementation(androidcompat.bundles.config)
// :AndroidCompat dependency to get application content root
implementation(androidcompat.appdirs)
// APK parser
implementation(libs.apkparser)
// Coroutines
implementation(libs.bundles.coroutines)
// Dependency Injection
implementation(libs.kodein.di)
implementation(libs.injekt.core)
// Dex2Jar
implementation(libs.bundles.dex2jar)
// JSoup
implementation(libs.jsoup)
// Logging
implementation(libs.bundles.logging)
// OkHttp3
implementation(libs.bundles.okhttp)
// ReactiveX
implementation(libs.rxjava)
// Serialization
implementation(libs.bundles.serialization)
}
}