36 lines
No EOL
770 B
Kotlin
36 lines
No EOL
770 B
Kotlin
plugins {
|
|
`kotlin-dsl`
|
|
`java-gradle-plugin`
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
configure<JavaPluginExtension> {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
dependencies {
|
|
implementation(deps.gradle.kotlin)
|
|
implementation(deps.gradle.android)
|
|
implementation(deps.gradle.detekt)
|
|
implementation(deps.gradle.kotlinpoet)
|
|
implementation(deps.kotlin.serialization)
|
|
|
|
testImplementation(deps.test.junit5)
|
|
testImplementation(deps.test.truth)
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins.register("configuration") {
|
|
id = "configuration"
|
|
implementationClass = "com.tangem.plugin.configuration.ConfigurationPlugin"
|
|
}
|
|
} |