forked from aml-org/als
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
67 lines (56 loc) · 1.6 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
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.3.24"
classpath files('lib//nexus-iq-cli-1.159.0-01.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 {
implementation "com.github.amlorg:amf-api-contract_2.12:${deps.amf}"
implementation "com.chuusai:shapeless_2.12:2.3.3"
}
mainClassName = 'org.mulesoft.language.client.jvm.ServerProcess'
distributions {
custom {
distributionBaseName = "${name}"
}
}
tasks.nexusIq.dependsOn(distZip)