Skip to content

Commit 6fa3e32

Browse files
committed
## Java SDK Changes:
* `glean.agents.createAgent()`: **Added** * `glean.client.announcements.create()`: * `request.createAnnouncementRequest.body.structuredList[].document.metadata.author.relatedDocuments[].results[].structuredResults[].customEntity.roles[].group.type.enum(collectionAudience)` **Added** * `response.body.structuredList[].document.metadata.author.relatedDocuments[].results[].structuredResults[].customEntity.roles[].group.type.enum(collectionAudience)` **Added** * `glean.client.announcements.update()`: * `request.updateAnnouncementRequest.body.structuredList[].document.metadata.author.relatedDocuments[].results[].structuredResults[].customEntity.roles[].group.type.enum(collectionAudience)` **Added** * `response.body.structuredList[].document.metadata.author.relatedDocuments[].results[].structuredResults[].customEntity.roles[].group.type.enum(collectionAudience)` **Added** * `glean.client.answers.create()`: * `request.createAnswerRequest.data.addedRoles[].group.type.enum(collectionAudience)` **Added** * `response.addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.answers.update()`: * `request.editAnswerRequest.addedRoles[].group.type.enum(collectionAudience)` **Added** * `response.addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.answers.retrieve()`: `response.answerResult.answer.addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.answers.list()`: `response.answerResults[].answer.addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.chat.create()`: * `request.chatRequest.messages[].citations[].sourceDocument.metadata.author.relatedDocuments[].results[].structuredResults[].customEntity.roles[].group.type.enum(collectionAudience)` **Added** * `response.messages[].citations[].sourceDocument.metadata.author.relatedDocuments[].results[].structuredResults[].customEntity.roles[].group.type.enum(collectionAudience)` **Added** * `glean.client.chat.retrieve()`: `response.chatResult.chat.createdBy.relatedDocuments[].querySuggestion.ranges[].document.metadata.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.chat.list()`: `response.chatResults[].chat.createdBy.relatedDocuments[].querySuggestion.ranges[].document.metadata.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.chat.createStream()`: * `request.chatRequest.messages[].citations[].sourceDocument.metadata.author.relatedDocuments[].results[].structuredResults[].customEntity.roles[].group.type.enum(collectionAudience)` **Added** * `glean.client.collections.addItems()`: `response.collection.addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.collections.create()`: * `request.createCollectionRequest.addedRoles[].group.type.enum(collectionAudience)` **Added** * `response.union(class (0)).collection.addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.collections.deleteItem()`: `response.collection.addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.collections.update()`: * `request.editCollectionRequest.addedRoles[].group.type.enum(collectionAudience)` **Added** * `response.addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.collections.updateItem()`: `response.collection.addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.collections.retrieve()`: `response.collection.addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.collections.list()`: `response.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.documents.retrieve()`: `response.documents.Map<DocumentOrError>.union(Document).metadata.author.relatedDocuments[].results[].structuredResults[].customEntity.roles[].group.type.enum(collectionAudience)` **Added** * `glean.client.documents.retrieveByFacets()`: `response.documents[].metadata.author.relatedDocuments[].results[].structuredResults[].customEntity.roles[].group.type.enum(collectionAudience)` **Added** * `glean.client.insights.retrieve()`: `response.gleanAssist.activityInsights[].user.relatedDocuments[].querySuggestion.ranges[].document.metadata.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.messages.retrieve()`: `response.searchResponse.results[].structuredResults[].document.metadata.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.pins.update()`: `response.attribution.relatedDocuments[].querySuggestion.ranges[].document.metadata.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.pins.retrieve()`: `response.pin.attribution.relatedDocuments[].querySuggestion.ranges[].document.metadata.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.pins.list()`: `response.pins[].attribution.relatedDocuments[].querySuggestion.ranges[].document.metadata.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.pins.create()`: `response.attribution.relatedDocuments[].querySuggestion.ranges[].document.metadata.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.search.queryAsAdmin()`: * `request.searchRequest.sourceDocument.metadata.author.relatedDocuments[].results[].structuredResults[].customEntity.roles[].group.type.enum(collectionAudience)` **Added** * `response.results[].structuredResults[].document.metadata.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.search.autocomplete()`: `response.results[].document.metadata.author.relatedDocuments[].results[].structuredResults[].customEntity.roles[].group.type.enum(collectionAudience)` **Added** * `glean.client.search.retrieveFeed()`: `response.results[].primaryEntry.createdBy.relatedDocuments[].querySuggestion.ranges[].document.metadata.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.search.recommendations()`: * `request.recommendationsRequest.sourceDocument.metadata.author.relatedDocuments[].results[].structuredResults[].customEntity.roles[].group.type.enum(collectionAudience)` **Added** * `response.results[].structuredResults[].document.metadata.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.search.query()`: * `request.searchRequest.sourceDocument.metadata.author.relatedDocuments[].results[].structuredResults[].customEntity.roles[].group.type.enum(collectionAudience)` **Added** * `response.results[].structuredResults[].document.metadata.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.entities.list()`: `response.results[].relatedDocuments[].querySuggestion.ranges[].document.metadata.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.entities.readPeople()`: `response.results[].relatedDocuments[].querySuggestion.ranges[].document.metadata.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.shortcuts.create()`: * `request.createShortcutRequest.data.addedRoles[].group.type.enum(collectionAudience)` **Added** * `response.shortcut.addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.shortcuts.retrieve()`: `response.shortcut.addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.shortcuts.list()`: `response.shortcuts[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.shortcuts.update()`: * `request.updateShortcutRequest.addedRoles[].group.type.enum(collectionAudience)` **Added** * `response.shortcut.addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.verification.addReminder()`: `response.metadata.lastVerifier.relatedDocuments[].querySuggestion.ranges[].document.metadata.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.verification.list()`: `response.documents[].metadata.lastVerifier.relatedDocuments[].querySuggestion.ranges[].document.metadata.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added** * `glean.client.verification.verify()`: `response.metadata.lastVerifier.relatedDocuments[].querySuggestion.ranges[].document.metadata.collections[].addedRoles[].group.type.enum(collectionAudience)` **Added**
1 parent 4fa9a12 commit 6fa3e32

33 files changed

Lines changed: 1856 additions & 1350 deletions

.speakeasy/gen.lock

Lines changed: 77 additions & 60 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ generation:
3030
generateNewTests: false
3131
skipResponseBodyAssertions: false
3232
java:
33-
version: 0.13.1
33+
version: 0.13.2
3434
additionalDependencies: []
3535
additionalPlugins: []
3636
artifactID: glean-api-client

.speakeasy/glean-merged-spec.yaml

Lines changed: 115 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0
22
info:
33
version: 0.9.0
44
title: Glean API
5-
x-source-commit-sha: 8041c7f73ed7b1a8bb52c21b4736355b3d3ac705
5+
x-source-commit-sha: 018ed6952931d2e4b01cb4c69a76b0f1f94b75c0
66
description: |
77
# Introduction
88
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
@@ -22,7 +22,7 @@ info:
2222
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
2323
x-logo:
2424
url: https://app.glean.com/images/glean-text2.svg
25-
x-open-api-commit-sha: bcfb45a263878a9d08bcb4117a44e970b498dc10
25+
x-open-api-commit-sha: cd7590d746298ff70bf143652ed721a2255356ec
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -910,6 +910,40 @@ paths:
910910
description: Internal server error.
911911
security:
912912
- APIToken: []
913+
/rest/api/v1/agents:
914+
post:
915+
tags:
916+
- Agents
917+
summary: Create an agent
918+
description: Create an agent.
919+
operationId: createAgent
920+
x-visibility: Preview
921+
parameters:
922+
- $ref: "#/components/parameters/locale"
923+
- $ref: "#/components/parameters/timezoneOffset"
924+
requestBody:
925+
required: true
926+
content:
927+
application/json:
928+
schema:
929+
$ref: "#/components/schemas/CreateWorkflowRequest"
930+
responses:
931+
"200":
932+
description: Success
933+
content:
934+
application/json:
935+
schema:
936+
$ref: "#/components/schemas/CreateWorkflowResponse"
937+
"400":
938+
description: Bad request
939+
"401":
940+
description: Not Authorized
941+
"403":
942+
description: Forbidden
943+
"500":
944+
description: Internal server error
945+
security:
946+
- APIToken: []
913947
/rest/api/v1/agents/{agent_id}:
914948
get:
915949
tags:
@@ -6019,6 +6053,8 @@ components:
60196053
GroupType:
60206054
type: string
60216055
description: The type of user group
6056+
x-enumDescriptions:
6057+
COLLECTION_AUDIENCE: Refers to any viewers of the Collection.
60226058
enum:
60236059
- DEPARTMENT
60246060
- ALL
@@ -6028,6 +6064,9 @@ components:
60286064
- LOCATION
60296065
- REGION
60306066
- EXTERNAL_GROUP
6067+
- COLLECTION_AUDIENCE
6068+
x-speakeasy-enum-descriptions:
6069+
COLLECTION_AUDIENCE: Refers to any viewers of the Collection.
60316070
Group:
60326071
required:
60336072
- type
@@ -8990,6 +9029,80 @@ components:
89909029
items:
89919030
type: string
89929031
description: IDs of files to delete.
9032+
WorkflowDraftableProperties:
9033+
properties:
9034+
name:
9035+
type: string
9036+
description: The name of the workflow.
9037+
WorkflowMutableProperties:
9038+
type: object
9039+
allOf:
9040+
- $ref: "#/components/schemas/WorkflowDraftableProperties"
9041+
- type: object
9042+
CreateWorkflowRequest:
9043+
allOf:
9044+
- $ref: "#/components/schemas/WorkflowMutableProperties"
9045+
- type: object
9046+
properties:
9047+
transient:
9048+
type: boolean
9049+
description: Used to create a transient workflow.
9050+
parentWorkflowId:
9051+
type: string
9052+
description: id of the parent workflow for transient workflows
9053+
WorkflowMetadata:
9054+
allOf:
9055+
- type: object
9056+
properties:
9057+
author:
9058+
$ref: "#/components/schemas/Person"
9059+
createTimestamp:
9060+
type: integer
9061+
description: Server Unix timestamp of the creation time.
9062+
lastUpdateTimestamp:
9063+
type: integer
9064+
description: Server Unix timestamp of the last update time.
9065+
lastDraftSavedAt:
9066+
type: integer
9067+
description: Server Unix timestamp of the last time the draft was saved.
9068+
lastDraftSavedBy:
9069+
description: The person who last saved the draft.
9070+
$ref: "#/components/schemas/Person"
9071+
lastDraftGitAuthorId:
9072+
type: string
9073+
description: ID of the VCS user (e.g. GitHub username) who last saved the draft. Set only by the draft save path via the external Git integration API.
9074+
lastUpdatedBy:
9075+
$ref: "#/components/schemas/Person"
9076+
AttributionProperties: {}
9077+
Workflow:
9078+
allOf:
9079+
- $ref: "#/components/schemas/PermissionedObject"
9080+
- $ref: "#/components/schemas/WorkflowMutableProperties"
9081+
- $ref: "#/components/schemas/WorkflowMetadata"
9082+
- $ref: "#/components/schemas/AttributionProperties"
9083+
- type: object
9084+
properties:
9085+
id:
9086+
type: string
9087+
description: The ID of the workflow.
9088+
verified:
9089+
type: boolean
9090+
readOnly: true
9091+
description: When present, indicates this workflow is admin-verified. Set via the dedicated admin settings endpoint, not by regular edits.
9092+
showOrganizationAsAuthor:
9093+
type: boolean
9094+
readOnly: true
9095+
description: When true, displays organization name instead of author name in agent card. Set via the dedicated admin settings endpoint, not by regular edits.
9096+
WorkflowResult:
9097+
type: object
9098+
required:
9099+
- workflow
9100+
properties:
9101+
workflow:
9102+
$ref: "#/components/schemas/Workflow"
9103+
CreateWorkflowResponse:
9104+
allOf:
9105+
- $ref: "#/components/schemas/WorkflowResult"
89939106
Agent:
89949107
title: Agent
89959108
type: object
@@ -9042,16 +9155,6 @@ components:
90429155
message:
90439156
type: string
90449157
description: Client-facing error message describing what went wrong
9045-
WorkflowDraftableProperties:
9046-
properties:
9047-
name:
9048-
type: string
9049-
description: The name of the workflow.
9050-
WorkflowMutableProperties:
9051-
type: object
9052-
allOf:
9053-
- $ref: "#/components/schemas/WorkflowDraftableProperties"
9054-
- type: object
90559158
EditWorkflowRequest:
90569159
allOf:
90579160
- $ref: "#/components/schemas/WorkflowMutableProperties"
@@ -11310,7 +11413,6 @@ components:
1131011413
description: A list of removed user roles for the Workflow.
1131111414
items:
1131211415
$ref: "#/components/schemas/UserRoleSpecification"
11313-
AttributionProperties: {}
1131411416
PromptTemplate:
1131511417
allOf:
1131611418
- $ref: "#/components/schemas/PromptTemplateMutableProperties"
@@ -11386,55 +11488,6 @@ components:
1138611488
runCount:
1138711489
$ref: "#/components/schemas/CountInfo"
1138811490
description: This tracks how many times this prompt template was run. If user runs a prompt template after modifying the original one, it still counts as a run for the original template.
11389-
WorkflowMetadata:
11390-
allOf:
11391-
- type: object
11392-
properties:
11393-
author:
11394-
$ref: "#/components/schemas/Person"
11395-
createTimestamp:
11396-
type: integer
11397-
description: Server Unix timestamp of the creation time.
11398-
lastUpdateTimestamp:
11399-
type: integer
11400-
description: Server Unix timestamp of the last update time.
11401-
lastDraftSavedAt:
11402-
type: integer
11403-
description: Server Unix timestamp of the last time the draft was saved.
11404-
lastDraftSavedBy:
11405-
description: The person who last saved the draft.
11406-
$ref: "#/components/schemas/Person"
11407-
lastDraftGitAuthorId:
11408-
type: string
11409-
description: ID of the VCS user (e.g. GitHub username) who last saved the draft. Set only by the draft save path via the external Git integration API.
11410-
lastUpdatedBy:
11411-
$ref: "#/components/schemas/Person"
11412-
Workflow:
11413-
allOf:
11414-
- $ref: "#/components/schemas/PermissionedObject"
11415-
- $ref: "#/components/schemas/WorkflowMutableProperties"
11416-
- $ref: "#/components/schemas/WorkflowMetadata"
11417-
- $ref: "#/components/schemas/AttributionProperties"
11418-
- type: object
11419-
properties:
11420-
id:
11421-
type: string
11422-
description: The ID of the workflow.
11423-
verified:
11424-
type: boolean
11425-
readOnly: true
11426-
description: When present, indicates this workflow is admin-verified. Set via the dedicated admin settings endpoint, not by regular edits.
11427-
showOrganizationAsAuthor:
11428-
type: boolean
11429-
readOnly: true
11430-
description: When true, displays organization name instead of author name in agent card. Set via the dedicated admin settings endpoint, not by regular edits.
11431-
WorkflowResult:
11432-
type: object
11433-
required:
11434-
- workflow
11435-
properties:
11436-
workflow:
11437-
$ref: "#/components/schemas/Workflow"
1143811491
UserActivity:
1143911492
properties:
1144011493
actor:

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
speakeasyVersion: 1.771.0
1+
speakeasyVersion: 1.777.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:847b1f126f78c86bb63c1c27b6053ba6a9afe8855aab3e82d1f7f71501a5e840
6-
sourceBlobDigest: sha256:b685acc261c79f1c7579b236eaff1ea63982eb1f4be4c318bd6c9a24998c6132
5+
sourceRevisionDigest: sha256:2e5e4d50898537de3b994b51368d303a8f0612738059a20aef361a56a117548e
6+
sourceBlobDigest: sha256:dcb3e9dae368008eab578db9710c73174f4d8676ec86c38362605e7d25a0fa1c
77
tags:
88
- latest
99
Glean-OAS:
@@ -17,10 +17,10 @@ targets:
1717
glean:
1818
source: Glean API
1919
sourceNamespace: glean-api-specs
20-
sourceRevisionDigest: sha256:847b1f126f78c86bb63c1c27b6053ba6a9afe8855aab3e82d1f7f71501a5e840
21-
sourceBlobDigest: sha256:b685acc261c79f1c7579b236eaff1ea63982eb1f4be4c318bd6c9a24998c6132
20+
sourceRevisionDigest: sha256:2e5e4d50898537de3b994b51368d303a8f0612738059a20aef361a56a117548e
21+
sourceBlobDigest: sha256:dcb3e9dae368008eab578db9710c73174f4d8676ec86c38362605e7d25a0fa1c
2222
codeSamplesNamespace: glean-api-specs-java-code-samples
23-
codeSamplesRevisionDigest: sha256:23fd3d90cd31a167fd68d0b445256a33d9ed6f54ac66a8602d421692ecf9aa78
23+
codeSamplesRevisionDigest: sha256:e7986a33af64c6ac98803edc669175023f6a308f7135a730ef2e63c2256d7434
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ The samples below show how a published SDK artifact is used:
6767

6868
Gradle:
6969
```groovy
70-
implementation 'com.glean.api-client:glean-api-client:0.13.1'
70+
implementation 'com.glean.api-client:glean-api-client:0.13.2'
7171
```
7272

7373
Maven:
7474
```xml
7575
<dependency>
7676
<groupId>com.glean.api-client</groupId>
7777
<artifactId>glean-api-client</artifactId>
78-
<version>0.13.1</version>
78+
<version>0.13.2</version>
7979
</dependency>
8080
```
8181

@@ -410,6 +410,7 @@ For more information on obtaining the appropriate token type, please contact you
410410

411411
### [Agents](docs/sdks/agents/README.md)
412412

413+
* [createAgent](docs/sdks/agents/README.md#createagent) - Create an agent
413414
* [editAgent](docs/sdks/agents/README.md#editagent) - Edit an agent
414415

415416
### [Authentication](docs/sdks/authentication/README.md)
@@ -745,10 +746,10 @@ public class Application {
745746
many more subclasses in the JDK platform).
746747

747748
**Inherit from [`GleanError`](./src/main/java/models/errors/GleanError.java)**:
748-
* [`com.glean.api_client.glean_api_client.models.errors.ErrorResponse`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.ErrorResponse.java): Error response returned for failed requests. Applicable to 9 of 129 methods.*
749-
* [`com.glean.api_client.glean_api_client.models.errors.ErrorInfoResponse`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.ErrorInfoResponse.java): Error response for custom metadata operations. Applicable to 5 of 129 methods.*
750-
* [`com.glean.api_client.glean_api_client.models.errors.CollectionError`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.CollectionError.java): Semantic error. Status code `422`. Applicable to 3 of 129 methods.*
751-
* [`com.glean.api_client.glean_api_client.models.errors.GleanDataError`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.GleanDataError.java): Forbidden. Applicable to 2 of 129 methods.*
749+
* [`com.glean.api_client.glean_api_client.models.errors.ErrorResponse`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.ErrorResponse.java): Error response returned for failed requests. Applicable to 9 of 130 methods.*
750+
* [`com.glean.api_client.glean_api_client.models.errors.ErrorInfoResponse`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.ErrorInfoResponse.java): Error response for custom metadata operations. Applicable to 5 of 130 methods.*
751+
* [`com.glean.api_client.glean_api_client.models.errors.CollectionError`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.CollectionError.java): Semantic error. Status code `422`. Applicable to 3 of 130 methods.*
752+
* [`com.glean.api_client.glean_api_client.models.errors.GleanDataError`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.GleanDataError.java): Forbidden. Applicable to 2 of 130 methods.*
752753

753754

754755
</details>

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,4 +748,14 @@ Based on:
748748
### Generated
749749
- [java v0.13.1] .
750750
### Releases
751-
- [Maven Central v0.13.1] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.13.1 - .
751+
- [Maven Central v0.13.1] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.13.1 - .
752+
753+
## 2026-06-12 04:46:00
754+
### Changes
755+
Based on:
756+
- OpenAPI Doc
757+
- Speakeasy CLI 1.777.1 (2.903.2) https://github.com/speakeasy-api/speakeasy
758+
### Generated
759+
- [java v0.13.2] .
760+
### Releases
761+
- [Maven Central v0.13.2] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.13.2 - .

build.gradle

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ plugins {
1616
id 'signing'
1717
// V2 publishing plugin (Sonatype Central Portal)
1818
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.3'
19-
id "io.spring.dependency-management" version "1.1.6" apply false
2019
}
2120

2221
compileJava.options.encoding = "UTF-8"
@@ -85,47 +84,6 @@ dependencies {
8584
api 'org.reactivestreams:reactive-streams:1.0.4'
8685
}
8786

88-
ext {
89-
springBootVersion = '2.7.18'
90-
}
91-
92-
subprojects {
93-
if (name in [
94-
'glean-api-client-spring-boot-autoconfigure',
95-
'glean-api-client-spring-boot-starter'
96-
]) {
97-
// Ensure subprojects use the same group and version as root project
98-
group = rootProject.group
99-
version = rootProject.version
100-
101-
apply {
102-
plugin "java-library"
103-
plugin "io.spring.dependency-management"
104-
plugin "maven-publish"
105-
plugin "signing"
106-
plugin "cl.franciscosolis.sonatype-central-upload"
107-
}
108-
dependencyManagement {
109-
imports {
110-
mavenBom "org.springframework.boot:spring-boot-dependencies:${rootProject.springBootVersion}"
111-
}
112-
}
113-
repositories {
114-
mavenCentral()
115-
}
116-
java {
117-
withSourcesJar()
118-
withJavadocJar()
119-
}
120-
tasks.withType(JavaCompile).configureEach {
121-
options.release = 11
122-
}
123-
124-
// Apply publishing configuration to all subprojects - they'll check for publishingConfig internally
125-
apply from: rootProject.file('publishing.gradle')
126-
}
127-
}
128-
12987
ext {
13088
publishingConfig = [
13189
groupId: group,

0 commit comments

Comments
 (0)