tachiyomi-extensions-inspector/build.gradle.kts

88 lines
2.7 KiB
Plaintext
Raw Normal View History

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.4.32"
kotlin("plugin.serialization") version "1.4.32" apply false
}
allprojects {
2021-05-26 23:37:32 +02:00
group = "suwayomi"
version = "1.0"
repositories {
mavenCentral()
2021-03-30 14:51:41 +02:00
maven("https://maven.google.com/")
maven("https://jitpack.io")
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://dl.google.com/dl/android/maven2/")
}
}
2021-04-02 00:44:40 +02:00
val projects = listOf(
project(":AndroidCompat"),
project(":AndroidCompat:Config"),
project(":server")
)
2021-04-02 00:44:40 +02:00
configure(projects) {
apply(plugin = "org.jetbrains.kotlin.jvm")
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}
dependencies {
// Kotlin
2021-05-06 11:44:04 +02:00
implementation(kotlin("stdlib-jdk8"))
implementation(kotlin("reflect"))
testImplementation(kotlin("test"))
2021-04-02 00:44:40 +02:00
// coroutines
val coroutinesVersion = "1.4.3"
2021-04-02 00:44:40 +02:00
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:$coroutinesVersion")
2021-04-03 22:42:13 +02:00
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutinesVersion")
2021-04-02 00:44:40 +02:00
2021-06-04 19:21:48 +02:00
val kotlinSerializationVersion = "1.1.0"
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinSerializationVersion")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-protobuf:$kotlinSerializationVersion")
// Dependency Injection
implementation("org.kodein.di:kodein-di-conf-jvm:7.5.0")
// Logging
implementation("org.slf4j:slf4j-api:1.7.30")
2021-03-27 15:00:36 +01:00
implementation("ch.qos.logback:logback-classic:1.2.3")
implementation("io.github.microutils:kotlin-logging:2.0.6")
2021-05-20 13:52:54 +02:00
// ReactiveX
implementation("io.reactivex:rxjava:1.3.8")
implementation("io.reactivex:rxkotlin:1.0.0")
2021-05-20 13:52:54 +02:00
implementation("com.jakewharton.rxrelay:rxrelay:1.2.0")
// JSoup
implementation("org.jsoup:jsoup:1.13.1")
// dependency of :AndroidCompat:Config
implementation("com.typesafe:config:1.4.1")
2021-03-27 15:00:36 +01:00
implementation("io.github.config4k:config4k:0.4.2")
2021-03-11 12:13:29 +01:00
// to get application content root
implementation("net.harawata:appdirs:1.2.1")
2021-04-03 17:17:31 +02:00
// dex2jar: https://github.com/DexPatcher/dex2jar/releases/tag/v2.1-20190905-lanchon
implementation("com.github.DexPatcher.dex2jar:dex-tools:v2.1-20190905-lanchon")
// APK parser
implementation("net.dongliu:apk-parser:2.6.10")
}
}