Skip to content

Commit

Permalink
tidy up gradle files
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssaruth committed Nov 15, 2023
1 parent a505d6d commit 836dd51
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 42 deletions.
5 changes: 0 additions & 5 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
/*
* This file was generated by the Gradle 'init' task.
*/

plugins {
// Support convention plugins written in Kotlin. Convention plugins are build scripts in 'src/main' that automatically become available as plugins in the main build.
`kotlin-dsl`
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,39 +1,22 @@
/*
* This file was generated by the Gradle 'init' task.
*/

plugins {
// Apply the org.jetbrains.kotlin.jvm Plugin to add support for Kotlin.
id("org.jetbrains.kotlin.jvm")
}

repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
}

dependencies {
constraints {
// Define dependency versions as constraints
implementation("org.apache.commons:commons-text:1.9")

implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
}

// Align versions of all Kotlin components
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))

// Use the Kotlin JDK 8 standard library.
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")

// Align versions of all Kotlin components
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))

// Use JUnit Jupiter for testing.
testImplementation("org.junit.jupiter:junit-jupiter:5.7.2")
}

tasks.named<Test>("test") {
// Use JUnit Platform for unit tests.
useJUnitPlatform()
}

This file was deleted.

4 changes: 0 additions & 4 deletions client/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* This file was generated by the Gradle 'init' task.
*/

plugins {
id("Entropy.kotlin-common-conventions")
application
Expand Down
7 changes: 2 additions & 5 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* This file was generated by the Gradle 'init' task.
*/

plugins {
id("Entropy.kotlin-library-conventions")
id("Entropy.kotlin-common-conventions")
`java-library`
}

dependencies {
Expand Down

0 comments on commit 836dd51

Please sign in to comment.