forked from modelix/modelix.samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
37 lines (32 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
plugins {
java
`java-library`
}
val modelix_version: String by project
val api_gen_version: String by project
val json_bulk_access_version: String by project
repositories {
maven { url = uri("https://artifacts.itemis.cloud/repository/maven-mps/") }
maven {
url = uri("https://maven.pkg.github.com/modelix/api-gen")
credentials {
username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN")
}
}
mavenCentral()
}
dependencies {
implementation("org.modelix.mps.api-gen:runtime:$api_gen_version")
implementation("org.modelix:model-api:$modelix_version")
implementation("org.modelix.mps-json-bulk-model-access:model-client:$json_bulk_access_version")
implementation("org.modelix.mps-json-bulk-model-access:model-api:$json_bulk_access_version")
implementation("org.modelix:model-api-jvm:$modelix_version")
}
sourceSets {
main {
java {
srcDir("source_gen")
}
}
}