-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
52 lines (45 loc) · 1.32 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
buildscript {
repositories {
mavenCentral()
mavenLocal()
maven {
url "https://plugins.gradle.org/m2/"
}
maven {
name "mule-ee-releases"
url "https://repository.mulesoft.org/nexus/content/repositories/releases/"
}
maven { url "https://jitpack.io" }
}
dependencies {
classpath "com.mulesoft:gradle-tools:0.3.24"
classpath files('lib/nexus-iq-cli-1.159.0-01.jar')
}
}
apply plugin: 'com.mulesoft.gradle.nexusIq'
apply plugin: 'application'
apply plugin: 'distribution'
apply plugin: 'java'
repositories {
mavenCentral()
maven {
url "https://repository-master.mulesoft.org/nexus/content/repositories/snapshots"
}
maven {
url "https://repository-master.mulesoft.org/nexus/content/repositories/releases"
}
maven { url 'https://jitpack.io' }
}
def name = 'amf-metadata'
nexusIq.user = "${System.env.NEXUSIQ_USR}"
nexusIq.password = "${System.env.NEXUSIQ_PSW}"
nexusIq.applicationId = "${name}"
nexusIq.url = "https://nexusiq.build.msap.io/"
def versions = new Properties()
file("versions.yaml").withInputStream {
stream -> versions.load(stream)
}
dependencies {
implementation "com.github.amlorg:amf-transform_2.12:${versions.'amf.transform'}"
}
tasks.nexusIq.dependsOn(distZip)