-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
38 lines (35 loc) · 1.18 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
plugins {
kotlin("jvm") version "1.5.20" apply false
kotlin("multiplatform") version "1.5.20" apply false
kotlin("kapt") version "1.5.20" apply false
id("com.gradle.plugin-publish") version "0.15.0" apply false
id("com.github.gmazzo.buildconfig") version "2.0.2" apply false
// id("com.vanniktech.maven.publish") version "0.14.0" apply false
id("org.jetbrains.dokka") version "1.4.30" apply false
kotlin("plugin.serialization") version "1.5.20" apply false
id("com.github.johnrengelman.shadow") version "7.0.0" apply false
signing
}
allprojects {
group = "com.rnett.compiler-plugin-reference"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
}
//TODO set proper attributes
subprojects {
afterEvaluate {
extensions.findByType<org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension>()?.target {
compilations.configureEach {
kotlinOptions {
jvmTarget = "1.8"
}
compileJavaTaskProvider.get().apply {
targetCompatibility = "1.8"
sourceCompatibility = "1.8"
}
}
}
}
}