Skip to content

Commit 2f737eb

Browse files
committed
Use source dependency to depend on KLS's shared module
...instead of Jitpack
1 parent f0971cf commit 2f737eb

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

adapter/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ startScripts {
1313
applicationName = "kotlin-debug-adapter"
1414
}
1515

16-
repositories {
17-
maven { url 'https://jitpack.io' }
18-
}
19-
2016
dependencies {
2117
// The JSON-RPC and Debug Adapter Protocol implementations
2218
implementation 'org.eclipse.lsp4j:org.eclipse.lsp4j.debug:0.10.0'
2319
implementation 'org.jetbrains.kotlin:kotlin-stdlib'
2420
implementation 'org.jetbrains.kotlin:kotlin-reflect'
25-
implementation 'com.github.fwcd.kotlin-language-server:shared:c7e08424e9f5237c594c38ab51af475e40d256f2'
21+
implementation('kotlin-language-server:shared') {
22+
version {
23+
branch = 'main'
24+
}
25+
}
2626
testImplementation 'junit:junit:4.12'
2727
testImplementation 'org.hamcrest:hamcrest-all:1.3'
2828
}

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id 'org.jetbrains.kotlin.jvm' version "$kotlinVersion"
2+
id 'org.jetbrains.kotlin.jvm' version "$kotlinVersion"
33
}
44

55
allprojects {

settings.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ pluginManagement {
88
rootProject.name = 'kotlin-debug-adapter'
99

1010
include 'adapter'
11+
12+
sourceControl {
13+
gitRepository('https://github.com/fwcd/kotlin-language-server.git') {
14+
producesModule('kotlin-language-server:shared')
15+
}
16+
}

0 commit comments

Comments
 (0)