forked from fwcd/kotlin-language-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
39 lines (34 loc) · 861 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
32
33
34
35
36
37
38
39
plugins {
id 'org.jetbrains.kotlin.jvm' version "$kotlinVersion"
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(javaVersion)
}
}
allprojects {
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 = System.getenv('GITHUB_ACTOR')
password = System.getenv('GITHUB_TOKEN')
}
}
}
publications {
gpr(MavenPublication) {
from components.java
}
}
}
}