Move common app-provided dependencies to common.gradle (#3214)

This commit is contained in:
arkon 2020-05-17 16:50:53 -04:00 committed by GitHub
parent 5a08ce9dca
commit efc1877172
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
73 changed files with 27 additions and 307 deletions

View file

@ -61,10 +61,15 @@ dependencies {
// Lib 1.2, but using specific commit so we don't need to bump up the version
compileOnly "com.github.tachiyomiorg:extensions-lib:84bfb8d"
// These are provided by the app itself
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
compileOnly 'com.squareup.okhttp3:okhttp:3.10.0'
compileOnly 'io.reactivex:rxjava:1.3.6'
compileOnly 'org.jsoup:jsoup:1.10.2'
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
preBuild.dependsOn(lintKotlin)

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,10 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -10,9 +10,6 @@ ext {
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
implementation 'io.reactivex:rxandroid:1.2.1'
implementation 'io.reactivex:rxjava:1.3.6'
}

View file

@ -9,10 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -7,9 +7,9 @@ import eu.kanade.tachiyomi.source.model.Filter
import eu.kanade.tachiyomi.source.model.FilterList
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.util.asJsoup
import okhttp3.Headers
import java.text.SimpleDateFormat
import java.util.Locale
import okhttp3.Headers
import okhttp3.Request
import okhttp3.Response

View file

@ -11,9 +11,6 @@ ext {
dependencies {
implementation project(':lib-ratelimit')
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -13,9 +13,7 @@ ext {
dependencies {
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-protobuf:0.20.0'
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.20.0'
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly project(':duktape-stub')
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,8 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -8,9 +8,5 @@ ext {
extVersionCode = 6
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -11,6 +11,6 @@ ext {
dependencies {
implementation project(':lib-ratelimit')
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,8 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,8 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -11,8 +11,6 @@ ext {
dependencies {
compileOnly project(':duktape-stub')
sourceCompatibility = "1.6"
targetCompatibility = "1.6"
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -6,12 +6,12 @@ import eu.kanade.tachiyomi.source.model.Page
import eu.kanade.tachiyomi.source.model.SChapter
import eu.kanade.tachiyomi.source.model.SManga
import eu.kanade.tachiyomi.source.online.ParsedHttpSource
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element
import java.text.SimpleDateFormat
import java.util.Locale
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element
class MangaKatana: ParsedHttpSource() {
class MangaKatana : ParsedHttpSource() {
override val name = "MangaKatana"
override val baseUrl = "https://mangakatana.com"
@ -81,7 +81,7 @@ class MangaKatana: ParsedHttpSource() {
override fun pageListParse(document: Document): List<Page> {
val html = document.toString()
//Thanks to https://github.com/manga-py/manga-py
// Thanks to https://github.com/manga-py/manga-py
val regex = Regex("var\\s+\\w+\\s?=\\s?(\\[['\"].+?['\"]).?\\]\\s?;")
val match = regex.find(html)?.destructured?.toList()?.get(0)?.removePrefix("[")
@ -94,4 +94,3 @@ class MangaKatana: ParsedHttpSource() {
override fun getFilterList() = FilterList()
}

View file

@ -9,8 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,8 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,8 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,10 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -129,11 +129,10 @@ class HeavenManga : ParsedHttpSource() {
setUrlWithoutDomain(it.attr("href"))
}
scanlator = element.select("span.pull-right").text()
}
}
override fun mangaDetailsParse(document: Document) = SManga.create().apply {
override fun mangaDetailsParse(document: Document) = SManga.create().apply {
document.select("div.tab-summary").let { info ->
genre = info.select("div.genres-content a").joinToString { it.text() }
thumbnail_url = info.select("div.summary_image img").attr("abs:data-src")
@ -151,7 +150,7 @@ class HeavenManga : ParsedHttpSource() {
override fun pageListParse(document: Document): List<Page> {
return document.select("script:containsData(pUrl)").first().data()
.substringAfter("pUrl=[").substringBefore("\"},];").split("\"},")
.mapIndexed{ i, string -> Page(i, "", string.substringAfterLast("\"")) }
.mapIndexed { i, string -> Page(i, "", string.substringAfterLast("\"")) }
}
/**

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,8 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,8 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,10 +9,8 @@ ext {
libVersion = '1.2'
}
apply from: "$rootDir/common.gradle"
dependencies {
implementation 'org.apache.commons:commons-lang3:3.8.1'
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -6,8 +6,6 @@ import eu.kanade.tachiyomi.source.model.Page
import eu.kanade.tachiyomi.source.model.SChapter
import eu.kanade.tachiyomi.source.model.SManga
import eu.kanade.tachiyomi.source.online.ParsedHttpSource
import java.util.Calendar
import okhttp3.OkHttpClient
import okhttp3.Protocol
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element

View file

@ -3,12 +3,12 @@ package eu.kanade.tachiyomi.extension.ja.mangaraw
import eu.kanade.tachiyomi.source.Source
import eu.kanade.tachiyomi.source.SourceFactory
class MangaRawFactory: SourceFactory {
class MangaRawFactory : SourceFactory {
override fun createSources(): List<Source> = listOf(
Manga1000(),
Manga1001()
)
}
class Manga1000: MangaRaw("Manga1000", "http://manga1000.com")
class Manga1001: MangaRaw("Manga1001", "http://manga1001.com")
class Manga1000 : MangaRaw("Manga1000", "http://manga1000.com")
class Manga1001 : MangaRaw("Manga1001", "http://manga1001.com")

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,8 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,8 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,8 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -10,8 +10,6 @@ ext {
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
implementation project(':lib-ratelimit')
}

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -8,11 +8,9 @@ ext {
extVersionCode = 16
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
implementation project(':lib-ratelimit')
}
apply from: "$rootDir/common.gradle"

View file

@ -9,10 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -11,7 +11,6 @@ ext {
dependencies {
implementation project(':lib-ratelimit')
compileOnly 'com.google.code.gson:gson:2.8.2'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,10 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View file

@ -8,8 +8,5 @@ ext {
extVersionCode = 1
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -11,9 +11,9 @@ import eu.kanade.tachiyomi.util.asJsoup
import java.text.SimpleDateFormat
import java.util.Locale
import okhttp3.Response
import org.json.JSONObject
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element
import org.json.JSONObject
class MangaDenizi : ParsedHttpSource() {
override val name = "MangaDenizi"
@ -42,7 +42,7 @@ class MangaDenizi : ParsedHttpSource() {
override fun latestUpdatesRequest(page: Int) = GET("$baseUrl/latest-release?page=$page", headers)
//No thumbnail on latest releases page
// No thumbnail on latest releases page
override fun latestUpdatesFromElement(element: Element) = SManga.create().apply {
setUrlWithoutDomain(element.attr("href"))
title = element.text()
@ -79,7 +79,7 @@ class MangaDenizi : ParsedHttpSource() {
val results = response.getJSONArray("suggestions")
val mangas = ArrayList<SManga>()
//No thumbnail here either
// No thumbnail here either
for (i in 0 until results.length()) {
val obj = results.getJSONObject(i)
val manga = SManga.create()

View file

@ -88,8 +88,8 @@ class SeriManga : ParsedHttpSource() {
var continueParsing = true
while (continueParsing) {
document.select(chapterListSelector()).map{ chapters.add(chapterFromElement(it)) }
document.select(popularMangaNextPageSelector()).let{
document.select(chapterListSelector()).map { chapters.add(chapterFromElement(it)) }
document.select(popularMangaNextPageSelector()).let {
if (it.isNotEmpty()) {
document = client.newCall(GET(it.attr("abs:href"), headers)).execute().asJsoup()
} else {

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -11,7 +11,6 @@ ext {
dependencies {
compileOnly project(':duktape-stub')
compileOnly 'com.google.code.gson:gson:2.8.2'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -9,9 +9,4 @@ ext {
libVersion = '1.2'
}
dependencies {
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View file

@ -11,8 +11,6 @@ ext {
dependencies {
compileOnly project(':duktape-stub')
compileOnly 'com.google.code.gson:gson:2.8.2'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"