-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
42 lines (34 loc) · 1.05 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
plugins {
id 'java'
id "io.freefair.aggregate-javadoc" version "6.4.3"
}
repositories {
}
dependencies {
implementation fileTree(dir: '../libs', include: '*.jar')
// Remove if not needed
implementation rootProject.azureDependency
implementation rootProject.agentSdk
implementation rootProject.transitiveDependencies
implementation rootProject.azureTranstiveDependency
implementation rootProject.springBootApplication
annotationProcessor rootProject.springBootAnnotationProcessor
testImplementation rootProject.junit
}
test {
useJUnitPlatform()
}
jar {
archivesBaseName = 'com.softwareag.controlplane.azureagent.common'
version = '0.0.1'
}
task copyJar(type: Copy) {
from jar // here it automatically reads jar file produced from jar task
into '../libs'
}
build.dependsOn copyJar
/** for gradle version greater than 8 below statetements to be uncommented and used instead of above statement
build.mustRunAfter copyJar
compileTestJava.mustRunAfter copyJar
compileJava.mustRunAfter copyJar
*/