-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
executable file
·92 lines (81 loc) · 2.91 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
buildscript {
repositories {
mavenLocal()
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath 'org.xtext:xtext-gradle-plugin:4.0.0'
}
}
plugins {
id "org.xtext.xtend" version "4.0.0"
id 'io.github.gradle-nexus.publish-plugin' version '1.3.0'
}
nexusPublishing {
repositories {
// sonatype()
// sonatype {
// nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"))
// snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
// }
sonatype { //only for users registered in Sonatype after 24 Feb 2021
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
}
}
}
group = "org.bigraphs.dsl"
version = '2.0.1'
ext.versions = [
xtext : '2.32.0',
emfEcore : '2.38.0',
emfEcoreXmi : '2.38.0',
emfCommon : '2.40.0',
emfCodegen : '2.23.0',
emfEcoreCodeGen: '2.35.0',
lsp4j : '0.8.1',
mwe2 : '2.25.0',
antlrgen : '[2.1.1,3)',
commonslang3 : '3.10',
commonsio : '2.6'
]
subprojects {
ext.xtextVersion = '2.32.0'
group = 'org.bigraphs.dsl'
version = '2.0.1'
repositories {
mavenLocal()
mavenCentral()
maven {
name 'sonatype-snapshots'
url 'https://s01.oss.sonatype.org/content/repositories/snapshots'
}
}
apply plugin: 'java-library'
apply plugin: 'maven-publish'
apply plugin: 'signing'
apply plugin: 'org.xtext.xtend'
apply plugin: 'eclipse'
apply plugin: 'idea'
dependencies {
// implementation maps to the Maven runtime scope
// api maps to the Maven compile scope
api platform("org.eclipse.xtext:xtext-dev-bom:${versions.xtext}")
api "org.eclipse.emf:org.eclipse.emf.ecore:${versions.emfEcore}"
api "org.eclipse.emf:org.eclipse.emf.ecore.xmi:${versions.emfEcoreXmi}"
api "org.eclipse.emf:org.eclipse.emf.common:${versions.emfCommon}"
api "org.eclipse.emf:org.eclipse.emf.codegen.ecore:${versions.emfEcoreCodeGen}"
api "org.eclipse.emf:org.eclipse.emf.codegen:${versions.emfCodegen}"
api "org.eclipse.xtend:org.eclipse.xtend.lib:2.30.0"
api "jakarta.inject:jakarta.inject-api:2.0.1"
// will not be in the pom at all but included in the shadowed jar
compileOnly fileTree(include: ['*.jar'], dir: "${projectDir}/../etc/libs")
implementation fileTree(include: ['*.jar'], dir: "${projectDir}/../etc/libs")
}
apply from: "${rootDir}/gradle/source-layout.gradle"
apply from: "${rootDir}/gradle/java-compiler-settings.gradle"
configurations.all {
exclude group: 'asm'
}
}