mirror of
https://github.com/divkit/divkit.git
synced 2026-05-07 20:02:32 +00:00
Gradle files clean up
commit_hash:2b9eeab6fc545158b0cead652a55118a8c6afce8
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import groovy.json.JsonOutput
|
||||
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.android.library)
|
||||
@@ -9,14 +8,6 @@ plugins {
|
||||
apply(from = "${projectDir}/../div-library.gradle")
|
||||
apply(from = "${projectDir}/../div-tests.gradle")
|
||||
|
||||
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
||||
compilerOptions {
|
||||
freeCompilerArgs = listOf("-Xjvm-default=all")
|
||||
languageVersion = KotlinVersion.fromVersion("1.8")
|
||||
apiVersion = KotlinVersion.fromVersion("1.8")
|
||||
}
|
||||
}
|
||||
|
||||
val testDataLocation = file("../../../test_data")
|
||||
|
||||
schemas {
|
||||
@@ -34,18 +25,6 @@ android {
|
||||
defaultConfig {
|
||||
buildConfigField("String", "TEMPLATES_JSON_PATH", JsonOutput.toJson(testDataLocation.path))
|
||||
}
|
||||
|
||||
testOptions {
|
||||
unitTests {
|
||||
all {
|
||||
it.jvmArgs = listOf("-noverify")
|
||||
it.testLogging {
|
||||
events("passed", "skipped", "failed", "standardOut", "standardError")
|
||||
}
|
||||
}
|
||||
isIncludeAndroidResources = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -68,8 +68,6 @@ dependencies {
|
||||
implementation(libs.javax)
|
||||
compileOnly(libs.json)
|
||||
|
||||
"generatorImplementation"(libs.kotlin.stdlib)
|
||||
"generatorImplementation"(libs.javax)
|
||||
"generatorCompileOnly"(libs.json)
|
||||
"generatorImplementation"(libs.kotlinpoet)
|
||||
|
||||
|
||||
@@ -146,7 +146,6 @@ kotlin-allopen = { module = "org.jetbrains.kotlin:kotlin-allopen", version.ref =
|
||||
kotlin-binaryCompatibilityValidator = { module = "org.jetbrains.kotlinx:binary-compatibility-validator", version.ref = "kotlin-binaryCompatibilityValidator" }
|
||||
kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
|
||||
kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" }
|
||||
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }
|
||||
|
||||
kotlin-corountines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlin-coroutines" }
|
||||
kotlin-corountines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlin-coroutines" }
|
||||
|
||||
Reference in New Issue
Block a user