forked from ContextMapper/context-mapper-dsl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (36 loc) · 928 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
40
41
42
43
buildscript {
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath 'org.xtext:xtext-gradle-plugin:3.0.2'
}
}
def pomXml = new XmlSlurper().parse('pom.xml')
subprojects {
ext.xtextVersion = '2.32.0'
repositories {
mavenCentral()
}
apply plugin: 'java-library'
dependencies {
api platform("org.eclipse.xtext:xtext-dev-bom:${xtextVersion}")
}
apply plugin: 'maven-publish'
apply plugin: 'org.xtext.xtend'
apply from: "${rootDir}/gradle/source-layout.gradle"
apply from: "${rootDir}/gradle/maven-deployment.gradle"
apply plugin: 'eclipse'
apply plugin: 'jacoco'
group = 'org.contextmapper'
version = pomXml.version
sourceCompatibility = '11'
targetCompatibility = '11'
configurations.all {
exclude group: 'asm'
}
if (!project.hasProperty('signing.secretKeyRingFile')) {
project.ext.'signing.secretKeyRingFile' = "${rootDir}/secret-key.gpg"
}
}