-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
39 lines (34 loc) · 1.07 KB
/
build.gradle.kts
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("com.specificlanguages.mps") version "1.8.0"
`maven-publish`
}
repositories {
maven { url = uri("https://artifacts.itemis.cloud/repository/maven-mps/") }
mavenCentral()
}
dependencies {
"mps"("com.jetbrains:mps:2023.2.1")
}
group = "com.specificlanguages"
version = "2.0.0"
publishing {
publications {
register<MavenPublication>("mpsPlugin") {
from(components["mps"])
// Put resolved versions of dependencies into POM files -- uncomment as soon as we have any dependencies
// versionMapping { usage("java-runtime") { fromResolutionOf("generation") } }
}
}
repositories {
if (project.hasProperty("gpr.user")) {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/specificlanguages/mps-json")
credentials {
username = project.findProperty("gpr.user") as String?
password = project.findProperty("gpr.key") as String?
}
}
}
}
}