File tree 6 files changed +17
-12
lines changed
src/main/java/org/hypertrace/agent/core/instrumentation
6 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 63
63
- setup_build_environment
64
64
- run : make muzzle
65
65
66
- release-bintray -publish :
66
+ release-maven -publish :
67
67
executor : gradle_docker
68
68
steps :
69
69
- setup_build_environment
@@ -106,8 +106,10 @@ workflows:
106
106
filters :
107
107
tags :
108
108
only : /.*/
109
- - release-bintray-publish :
110
- context : hypertrace-publishing
109
+ - release-maven-publish :
110
+ context :
111
+ - hypertrace-publishing
112
+ - maven-central-publish
111
113
requires :
112
114
- build
113
115
- muzzle
@@ -119,7 +121,7 @@ workflows:
119
121
- release-github-publish :
120
122
context : hypertrace-publishing
121
123
requires :
122
- - release-bintray -publish
124
+ - release-maven -publish
123
125
filters :
124
126
branches :
125
127
ignore : /.*/
Original file line number Diff line number Diff line change
1
+ import org.hypertrace.gradle.publishing.License.APACHE_2_0;
2
+
1
3
plugins {
2
4
`java- library`
3
5
id(" com.diffplug.spotless" ) version " 5.2.0" apply false
4
- id(" org.hypertrace.publish-plugin" ) version " 0.3.3 " apply false
6
+ id(" org.hypertrace.publish-maven-central- plugin" ) version " 0.4.1 " apply false
5
7
id(" org.hypertrace.ci-utils-plugin" ) version " 0.1.4"
6
8
id(" org.gradle.test-retry" ) version " 1.2.0" apply false
7
9
}
@@ -51,9 +53,10 @@ subprojects {
51
53
}
52
54
}
53
55
54
- pluginManager.withPlugin(" org.hypertrace.publish-plugin" ) {
55
- configure< org.hypertrace.gradle.publishing.HypertracePublishExtension > {
56
- license.set(org.hypertrace.gradle.publishing.License .APACHE_2_0 )
56
+ pluginManager.withPlugin(" org.hypertrace.publish-maven-central-plugin" ) {
57
+ configure< org.hypertrace.gradle.publishing.HypertracePublishMavenCentralExtension > {
58
+ repoName.set(" javaagent" )
59
+ license.set(APACHE_2_0 )
57
60
}
58
61
}
59
62
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
`java- library`
3
- id(" org.hypertrace.publish-plugin" )
3
+ id(" org.hypertrace.publish-maven-central- plugin" )
4
4
}
5
5
6
6
val versions: Map <String , String > by extra
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ plugins {
4
4
`java- library`
5
5
idea
6
6
id(" com.google.protobuf" ) version " 0.8.13"
7
- id(" org.hypertrace.publish-plugin" )
7
+ id(" org.hypertrace.publish-maven-central- plugin" )
8
8
}
9
9
10
10
protobuf {
Original file line number Diff line number Diff line change 23
23
* <p>The copy is needed because in some cases Hypertrace instrumentation wants to use the same
24
24
* class as a key to the map.
25
25
*
26
- * @ see {@link io.opentelemetry.javaagent.instrumentation.api.CallDepthThreadLocalMap}.
26
+ * <p> see {@link io.opentelemetry.javaagent.instrumentation.api.CallDepthThreadLocalMap}.
27
27
*/
28
28
public class HypertraceCallDepthThreadLocalMap {
29
29
private static final ClassValue <HypertraceCallDepthThreadLocalMap .ThreadLocalDepth > TLS =
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
`java- library`
3
3
id(" com.github.johnrengelman.shadow" ) version " 6.0.0"
4
- id(" org.hypertrace.publish-plugin" )
4
+ id(" org.hypertrace.publish-maven-central- plugin" )
5
5
}
6
6
7
7
val versions: Map <String , String > by extra
You can’t perform that action at this time.
0 commit comments