Skip to content

Commit

Permalink
remove toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Fornitx committed Oct 20, 2024
1 parent 69a2038 commit 8634074
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 37 deletions.
6 changes: 4 additions & 2 deletions gradle/build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ plugins {
}

dependencies {
implementation(libs.kotlin.gradle.plugin)
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:" + System.getProperty("kotlinVersion"))
constraints {
implementation("org.jetbrains.kotlin:kotlin-reflect:" + System.getProperty("kotlinVersion"))
}
}
6 changes: 0 additions & 6 deletions gradle/build-logic/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ dependencyResolutionManagement {
repositories {
gradlePluginPortal()
}
versionCatalogs {
create("libs") {
from(files("../libs.versions.toml"))
version("kotlin-gradle-plugin", System.getProperty("kotlin_version"))
}
}
}

rootProject.name = "build-logic"
Original file line number Diff line number Diff line change
@@ -1,35 +1,17 @@
import org.gradle.accessors.dm.LibrariesForLibs

val libs = the<LibrariesForLibs>()

plugins {
kotlin("jvm")
}

dependencies {
// constraints {
// // Define dependency versions as constraints
// implementation("org.apache.commons:commons-text:1.12.0")
// }
implementation("org.jetbrains.kotlin:kotlin-reflect")
testImplementation("org.jetbrains.kotlin:kotlin-test")
testImplementation(libs.junit.jupiter)
testImplementation("org.junit.jupiter:junit-jupiter:5.11.2")
}

tasks.withType<Test> {
useJUnitPlatform()
}

//testing {
// suites {
// // Configure the built-in test suite
// val test by getting(JvmTestSuite::class) {
// // Use JUnit Jupiter test framework
// useJUnitJupiter("5.10.3")
// }
// }
//}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
Expand Down
10 changes: 0 additions & 10 deletions gradle/libs.versions.toml

This file was deleted.

0 comments on commit 8634074

Please sign in to comment.