Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove buildSrc #301

Merged
merged 5 commits into from
Jan 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@
import org.gradle.initialization.IGradlePropertiesLoader.ENV_PROJECT_PROPERTIES_PREFIX
import org.gradle.initialization.IGradlePropertiesLoader.SYSTEM_PROJECT_PROPERTIES_PREFIX
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.gradle.ext.copyright
import org.jetbrains.gradle.ext.settings
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
import kotlin.math.min

plugins {
id("org.jetbrains.kotlin.jvm") version "1.8.22"
id("com.gradle.plugin-publish") version "1.2.1"
id("com.diffplug.spotless") version "6.24.0"
id("com.github.johnrengelman.shadow") version "8.1.1"
id("org.jetbrains.gradle.plugin.idea-ext")
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.7"
id("com.github.ben-manes.versions") version "0.50.0"
id("org.ajoberstar.stutter") version "0.7.3"
}
Expand Down Expand Up @@ -43,6 +46,10 @@ repositories {
}

val licenseHeaderFile = file("gradle/license-header.txt")
fun readCopyrightHeader(licenseHeaderFile: File) =
licenseHeaderFile.readLines()
.joinToString("\n") { line -> line.substring(min(line.length, 3)) }
TWiStErRob marked this conversation as resolved.
Show resolved Hide resolved
.trim()
spotless {
lineEndings = com.diffplug.spotless.LineEnding.UNIX
kotlin {
Expand Down
11 changes: 0 additions & 11 deletions buildSrc/build.gradle.kts

This file was deleted.

Empty file removed buildSrc/settings.gradle.kts
Empty file.
36 changes: 0 additions & 36 deletions buildSrc/src/main/kotlin/IdeaExtExtensions.kt

This file was deleted.