Skip to content

Commit

Permalink
Clean up build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderbiscuit committed Dec 8, 2023
1 parent 229b187 commit 09f5383
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
13 changes: 6 additions & 7 deletions lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent.STANDARD_OUT
val libraryVersion: String by project

plugins {
id("org.jetbrains.kotlin.jvm") version "1.8.10"
kotlin("plugin.serialization") version "1.8.10"
id("java-library")
id("maven-publish")
// id("org.jlleitschuh.gradle.ktlint") version "11.4.0"
id("org.jetbrains.dokka") version "1.8.10"
id("org.jetbrains.kotlin.jvm") version "1.9.10"
id("org.jetbrains.kotlin.plugin.serialization") version "1.9.10"
id("org.gradle.java-library")
id("org.gradle.maven-publish")
id("org.jetbrains.dokka") version "1.9.10"
}

repositories {
Expand Down Expand Up @@ -60,7 +59,7 @@ testing {
// Configure the built-in test suite
val test by getting(JvmTestSuite::class) {
// Use Kotlin Test test framework
useKotlinTest("1.8.10")
useKotlinTest("1.9.10")
}
}
}
Expand Down
20 changes: 20 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,2 +1,22 @@
rootProject.name = "cashu-client"
include("lib")

pluginManagement {
repositories {
google()
gradlePluginPortal()
mavenCentral()
}
}

dependencyResolutionManagement {
repositories {
mavenCentral()

// Snapshot repository
// maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")

// Local Maven (~/.m2/repository/)
// mavenLocal()
}
}

0 comments on commit 09f5383

Please sign in to comment.