-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbuild.gradle
72 lines (61 loc) · 1.85 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
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/"
}
}
dependencies {
classpath "com.mulesoft:gradle-tools:0.2.6"
classpath files('lib//nexus-iq-cli-1.40.0-02.jar')
}
}
//apply plugin: 'com.mulesoft.gradle.sonar'
apply plugin: 'com.mulesoft.gradle.nexusIq'
//apply plugin: 'org.scoverage'
def name = 'als'
//sonar.url = "${System.env.SONAR_USR}"
//sonar.login = "${System.env.SONAR_PSW}"
//sonar.sources = "src/main/scala"
//
nexusIq.user = "${System.env.NEXUSIQ_USR}"
nexusIq.password = "${System.env.NEXUSIQ_PSW}"
nexusIq.applicationId = "${name}"
apply plugin: 'application'
apply plugin: 'distribution'
apply plugin: 'java'
def deps = new Properties()
file("dependencies.properties").withInputStream {
stream -> deps.load(stream)
}
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' }
}
dependencies {
compile "com.github.amlorg:amf-client_2.12:${deps.amf}"
compile "com.github.amlorg:amf-webapi_2.12:${deps.amf}"
compile "com.github.amlorg:amf-core_2.12:${deps.amf}"
compile "com.github.amlorg:amf-aml_2.12:${deps.amf}"
compile "org.mule.common:scala-common_2.12:${deps.common}"
compile "org.mule.syaml:syaml_2.12:${deps.syaml}"
compile "com.chuusai:shapeless_2.12:2.3.3"
}
mainClassName = 'org.mulesoft.language.client.jvm.ServerProcess'
distributions {
custom {
baseName = "${name}"
}
}
tasks.nexusIq.dependsOn(distZip)