forked from fwcd/kotlin-language-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
31 lines (27 loc) · 810 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
plugins {
id 'org.jetbrains.kotlin.jvm' version "$kotlinVersion"
}
repositories {
mavenCentral()
}
configure(subprojects.findAll { it.name != 'grammars' }) {
apply plugin: 'kotlin'
apply plugin: 'maven-publish'
publishing {
repositories {
maven {
name = 'GitHubPackages'
url = uri('https://maven.pkg.github.com/fwcd/kotlin-language-server')
credentials {
username = project.findProperty('gpr.user') ?: System.getenv('GPR_USERNAME')
password = project.findProperty('gpr.key') ?: System.getenv('GPR_PASSWORD')
}
}
}
publications {
gpr(MavenPublication) {
from components.java
}
}
}
}