Skip to content

Commit 823af58

Browse files
SDK regeneration
1 parent a3592a0 commit 823af58

File tree

19 files changed

+7086
-3590
lines changed

19 files changed

+7086
-3590
lines changed

.publish/prepare.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Intercom Java Library
22

33
[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fintercom%2Fintercom-java)
4-
[![Maven Central](https://img.shields.io/maven-central/v/io.intercom/intercom-java)](https://central.sonatype.com/artifact/io.intercom/intercom-java)
54

65
The Intercom Java library provides convenient access to the Intercom APIs from Java.
76

build.gradle

Lines changed: 1 addition & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@ plugins {
22
id 'java-library'
33
id 'maven-publish'
44
id 'com.diffplug.spotless' version '6.11.0'
5-
id 'signing'
6-
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.3'
75
}
86

97
repositories {
108
mavenCentral()
119
maven {
12-
url 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
10+
url 'https://s01.oss.sonatype.org/content/repositories/releases/'
1311
}
1412
}
1513

@@ -45,88 +43,10 @@ java {
4543
}
4644

4745

48-
group = 'io.intercom'
49-
50-
version = '4.0.2'
51-
52-
jar {
53-
dependsOn(":generatePomFileForMavenPublication")
54-
archiveBaseName = "intercom-java"
55-
}
56-
57-
sourcesJar {
58-
archiveBaseName = "intercom-java"
59-
}
60-
61-
javadocJar {
62-
archiveBaseName = "intercom-java"
63-
}
64-
65-
signing {
66-
sign(publishing.publications)
67-
}
68-
6946
test {
7047
useJUnitPlatform()
7148
testLogging {
7249
showStandardStreams = true
7350
}
7451
}
7552

76-
publishing {
77-
publications {
78-
maven(MavenPublication) {
79-
groupId = 'io.intercom'
80-
artifactId = 'intercom-java'
81-
version = '4.0.2'
82-
from components.java
83-
pom {
84-
name = 'intercom'
85-
description = 'The official SDK of intercom'
86-
url = 'https://buildwithfern.com'
87-
licenses {
88-
license {
89-
name = 'The MIT License (MIT)'
90-
url = 'https://mit-license.org/'
91-
}
92-
}
93-
developers {
94-
developer {
95-
name = 'intercom'
96-
email = 'developers@intercom.com'
97-
}
98-
}
99-
scm {
100-
connection = 'scm:git:git://github.com/intercom/intercom-java.git'
101-
developerConnection = 'scm:git:git://github.com/intercom/intercom-java.git'
102-
url = 'https://github.com/intercom/intercom-java'
103-
}
104-
}
105-
}
106-
}
107-
}
108-
109-
sonatypeCentralUpload {
110-
username = "$System.env.MAVEN_USERNAME"
111-
password = "$System.env.MAVEN_PASSWORD"
112-
113-
archives = files(
114-
"$buildDir/libs/intercom-java-" + version + ".jar",
115-
"$buildDir/libs/intercom-java-" + version + "-sources.jar",
116-
"$buildDir/libs/intercom-java-" + version + "-javadoc.jar"
117-
)
118-
119-
pom = file("$buildDir/publications/maven/pom-default.xml")
120-
signingKey = "$System.env.MAVEN_SIGNATURE_SECRET_KEY"
121-
signingKeyPassphrase = "$System.env.MAVEN_SIGNATURE_PASSWORD"
122-
}
123-
124-
signing {
125-
def signingKeyId = "$System.env.MAVEN_SIGNATURE_KID"
126-
def signingKey = "$System.env.MAVEN_SIGNATURE_SECRET_KEY"
127-
def signingPassword = "$System.env.MAVEN_SIGNATURE_PASSWORD"
128-
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
129-
sign publishing.publications.maven
130-
}
131-
132-
sonatypeCentralUpload.dependsOn build

gradle.properties

Whitespace-only changes.

settings.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
rootProject.name = 'intercom-java'
2-
31
include 'sample-app'

src/main/java/com/intercom/api/core/ClientOptions.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@ private ClientOptions(
4444
this.headers.putAll(headers);
4545
this.headers.putAll(new HashMap<String, String>() {
4646
{
47-
put("User-Agent", "io.intercom:intercom-java/4.0.1");
4847
put("X-Fern-Language", "JAVA");
4948
put("X-Fern-SDK-Name", "com.intercom.fern:api-sdk");
50-
put("X-Fern-SDK-Version", "4.0.1");
49+
put("X-Fern-SDK-Version", "0.0.472");
5150
}
5251
});
5352
this.headerSuppliers = headerSuppliers;

0 commit comments

Comments
 (0)