-
-
Notifications
You must be signed in to change notification settings - Fork 160
/
build.gradle.kts
60 lines (49 loc) · 1.45 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
`java-gradle-plugin`
`kotlin-dsl`
`maven-publish`
id("com.gradle.plugin-publish") version "0.10.0"
}
group = "com.louiscad.splitties"
version = "0.2.0"
gradlePlugin {
plugins {
create("com.louiscad.splitties") {
id = "com.louiscad.splitties"
@Suppress("UnstableApiUsage")
displayName = "Splitties"
@Suppress("UnstableApiUsage")
description = "A family of small Kotlin libraries for delightful Android development\n"
implementationClass = "com.louiscad.splitties.SplittiesPlugin"
}
}
}
repositories {
mavenCentral()
jcenter()
}
pluginBundle {
website = "https://github.com/LouisCAD/Splitties"
vcsUrl = "https://github.com/LouisCAD/Splitties"
tags = listOf("android", "kotlin")
}
dependencies {
testImplementation("io.kotlintest:kotlintest-runner-junit5:3.4.0")
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
tasks.withType<Test>().configureEach {
@Suppress("UnstableApiUsage")
useJUnitPlatform()
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinDslPluginOptions {
experimentalWarning.set(false)
}
// TODO: delete this and the referenced dummy file when https://github.com/ben-manes/gradle-versions-plugin/issues/334 is fixed
apply(from = "dummy-dependencies.gradle.kts")