-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (51 loc) · 1.5 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
plugins {
id("com.github.johnrengelman.shadow") version "8.1.1"
id("io.micronaut.application") version "4.0.4"
id("maven-publish")
}
version = "0.2.0"
group = "org.eclipse.emfatic.cli"
repositories {
mavenCentral()
}
dependencies {
annotationProcessor("info.picocli:picocli-codegen")
annotationProcessor("io.micronaut.serde:micronaut-serde-processor")
implementation("info.picocli:picocli")
implementation("io.micronaut.picocli:micronaut-picocli")
implementation("io.micronaut.serde:micronaut-serde-jackson")
implementation("org.eclipse.emfatic:org.eclipse.emfatic.core:1.1.0")
implementation("org.eclipse.platform:org.eclipse.core.resources:3.13.700")
runtimeOnly("ch.qos.logback:logback-classic")
}
application {
mainClass.set("org.eclipse.emfatic.cli.Ecore2EmfaticCommand")
}
java {
sourceCompatibility = JavaVersion.toVersion("17")
targetCompatibility = JavaVersion.toVersion("17")
}
micronaut {
testRuntime("junit5")
processing {
incremental(true)
annotations("org.eclipse.emfatic.cli.*")
}
}
publishing {
publications {
library(MavenPublication) {
from components.java
}
}
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/epsilonlabs/ecore2emfatic-cli"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}