Skip to content

Commit

Permalink
Merge pull request #501 from fwcd/move-platform
Browse files Browse the repository at this point in the history
Move platform to subproject
  • Loading branch information
fwcd authored Oct 3, 2023
2 parents ba66720 + 4c8901f commit 4150e44
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ plugins {
id("java-platform")
}

group = "dev.fwcd.kotlin-language-server"

javaPlatform {
allowDependencies()
}
Expand Down
6 changes: 3 additions & 3 deletions server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ repositories {

dependencies {
// dependencies are constrained to versions defined
// in /gradle/platform/build.gradle.kts
implementation(platform("dev.fwcd.kotlin-language-server:platform"))
annotationProcessor(platform("dev.fwcd.kotlin-language-server:platform"))
// in /platform/build.gradle.kts
implementation(platform(project(":platform")))
annotationProcessor(platform(project(":platform")))

implementation(project(":shared"))

Expand Down
5 changes: 1 addition & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,10 @@ pluginManagement {
}
}

dependencyResolutionManagement {
includeBuild("gradle/platform")
}

rootProject.name = "kotlin-language-server"

include(
"platform",
"shared",
"server",
"grammars"
Expand Down
4 changes: 2 additions & 2 deletions shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ repositories {

dependencies {
// dependencies are constrained to versions defined
// in /gradle/platform/build.gradle.kts
implementation(platform("dev.fwcd.kotlin-language-server:platform"))
// in /platform/build.gradle.kts
implementation(platform(project(":platform")))

implementation(kotlin("stdlib"))
implementation("org.jetbrains.exposed:exposed-core")
Expand Down

0 comments on commit 4150e44

Please sign in to comment.