-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (47 loc) · 1.44 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
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java library project to get you started.
* For more details on building Java & JVM projects, please refer to https://docs.gradle.org/8.9/userguide/building_java_projects.html in the Gradle documentation.
*/
plugins {
id 'java'
id 'java-library'
id 'maven-publish'
}
group = 'com.magicloud.monitor'
version = '0.0.1-SNAPSHOT'
//artifact_id = 'monitor-otm-extends'
targetCompatibility = '17'
sourceCompatibility = '17'
repositories {
mavenLocal()
// Use Maven Central for resolving dependencies.
mavenCentral()
}
dependencies {
implementation "com.google.auto.service:auto-service:1.1.1"
implementation "io.opentelemetry:opentelemetry-sdk-trace:1.28.0"
implementation "io.opentelemetry:opentelemetry-semconv:1.28.0-alpha"
implementation "io.opentelemetry:opentelemetry-sdk-extension-autoconfigure:1.28.0"
implementation "io.opentelemetry.javaagent:opentelemetry-javaagent:1.28.0"
}
test {
useJUnitPlatform()
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
maven {
url 'https://dev-magicloud-343549021813.d.codeartifact.us-east-1.amazonaws.com/maven/internal/'
credentials {
username "aws"
password System.env.CODEARTIFACT_AUTH_TOKEN
}
}
}
}