diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-05-06 16:16:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-06 16:16:10 +0200 |
| commit | 375f329d6b276f802aafc14ce90520e807398d6e (patch) | |
| tree | 69f1a0edf7223e42e143e2d1d094c6eaaad0c400 /buildSrc/src/main/kotlin/kotlin-library-conventions.gradle.kts | |
| parent | e1d892bcbaa7e8361c150f684ca6a0dc5e036a87 (diff) | |
| parent | d4eb8ccd4f5d93d9e858b9c3ed6ff48763e68820 (diff) | |
chore: Prepare for OpenDC 2.0 release (v2)
This pull request performs several preparations for the official release of OpenDC 2.0.
With this pull request, we focus on the deployment of OpenDC to DockerHub and Maven Central.
* Add workflow for creating releases on Github and publishing to Maven Central
* Add workflow for publishing images on DockerHub
* Add support for runtime variables in frontend Docker image
* Add support for building Dokka documentation
Diffstat (limited to 'buildSrc/src/main/kotlin/kotlin-library-conventions.gradle.kts')
| -rw-r--r-- | buildSrc/src/main/kotlin/kotlin-library-conventions.gradle.kts | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/buildSrc/src/main/kotlin/kotlin-library-conventions.gradle.kts b/buildSrc/src/main/kotlin/kotlin-library-conventions.gradle.kts index 43b1d148..296d5967 100644 --- a/buildSrc/src/main/kotlin/kotlin-library-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/kotlin-library-conventions.gradle.kts @@ -1,7 +1,5 @@ /* - * MIT License - * - * Copyright (c) 2019 atlarge-research + * Copyright (c) 2021 AtLarge Research * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -22,30 +20,17 @@ * SOFTWARE. */ -import org.jetbrains.kotlin.gradle.tasks.KotlinCompile - plugins { - `java-library` - kotlin("jvm") - id("org.jlleitschuh.gradle.ktlint") + id("kotlin-conventions") + id("publishing-conventions") id("dokka-conventions") } /* Project configuration */ -repositories { - mavenCentral() -} - java { - sourceCompatibility = Versions.jvmTarget + withSourcesJar() } kotlin { explicitApi() } - -tasks.withType<KotlinCompile>().configureEach { - kotlinOptions.jvmTarget = Versions.jvmTarget.toString() - kotlinOptions.useIR = true - kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn" -} |
