Skip to content

Commit d6e5b42

Browse files
Merge branch 'kiota/beta/pipelinebuild/129533' into dependabot/github_actions/feature/6.0/actions/checkout-4
2 parents 005aeff + 5c37b01 commit d6e5b42

File tree

21,530 files changed

+632247
-687828
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

21,530 files changed

+632247
-687828
lines changed

.github/workflows/api-level-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
runs-on: [self-hosted, 1ES.Pool=1es-ubuntu-msgraph-beta-sdk-java-mem-latest]
1717
steps:
1818
- uses: actions/checkout@v4
19-
- uses: actions/setup-java@v3
19+
- uses: actions/setup-java@v4
2020
with:
2121
distribution: 'adopt'
2222
java-version: 18
2323
- name: Setup Android SDK
24-
uses: android-actions/setup-android@v2.0.10
24+
uses: android-actions/setup-android@v3.2.0
2525
- name: Add execution right to the script
2626
run: chmod +x gradlew
2727
working-directory: ./android

.github/workflows/auto-merge-dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: Dependabot metadata
2121
id: metadata
22-
uses: dependabot/fetch-metadata@v1.5.1
22+
uses: dependabot/fetch-metadata@v1.6.0
2323
with:
2424
github-token: "${{ secrets.GITHUB_TOKEN }}"
2525

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ on:
2424
jobs:
2525
analyze:
2626
name: Analyze
27-
runs-on: [self-hosted, 1ES.Pool=1es-ubuntu-msgraph-beta-sdk-java-mem-latest]
28-
#timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
27+
runs-on: 'macos-latest'
28+
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
2929
permissions:
3030
actions: read
3131
contents: read
@@ -45,45 +45,8 @@ jobs:
4545
uses: actions/checkout@v4
4646

4747
- name: Set up JDK
48-
uses: actions/setup-java@v3
48+
uses: actions/setup-java@v4
4949
with:
5050
java-version: 20
5151
distribution: 'temurin'
5252
cache: gradle
53-
54-
# Initializes the CodeQL tools for scanning.
55-
- name: Initialize CodeQL
56-
uses: github/codeql-action/init@v2
57-
with:
58-
languages: ${{ matrix.language }}
59-
threads: 4
60-
#ram: 8384
61-
62-
# If you wish to specify custom queries, you can do so here or in a config file.
63-
# By default, queries listed here will override any specified in a config file.
64-
# Prefix the list here with "+" to use these queries and those in the config file.
65-
66-
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
67-
# queries: security-extended,security-and-quality
68-
69-
70-
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
71-
# If this step fails, then you should remove it and run the build manually (see below)
72-
# - name: Autobuild
73-
# uses: github/codeql-action/autobuild@v2
74-
75-
# ℹ️ Command-line programs to run using the OS shell.
76-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
77-
78-
# If the Autobuild fails above, remove it and uncomment the following three lines.
79-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
80-
81-
- name: Grant execute permission for gradlew
82-
run: chmod +x gradlew
83-
- name: Build with Gradle
84-
run: ./gradlew build
85-
86-
- name: Perform CodeQL Analysis
87-
uses: github/codeql-action/analyze@v2
88-
with:
89-
category: "/language:${{matrix.language}}"

.github/workflows/git-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414
- name: Download Build Artifact
15-
uses: dawidd6/action-download-artifact@v2.27.0
15+
uses: dawidd6/action-download-artifact@v2.28.0
1616
with:
1717
workflow: preview-and-release.yml
1818
workflow_conclusion: success

.github/workflows/gradle-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121
- name: Set up JDK
22-
uses: actions/setup-java@v3
22+
uses: actions/setup-java@v4
2323
with:
2424
java-version: 18
2525
distribution: 'adopt'
@@ -63,7 +63,7 @@ jobs:
6363
steps:
6464
- uses: actions/checkout@v4
6565
- name: Set up JDK
66-
uses: actions/setup-java@v3
66+
uses: actions/setup-java@v4
6767
with:
6868
java-version: 18
6969
distribution: 'adopt'
@@ -74,7 +74,7 @@ jobs:
7474
name: kiota-drop
7575
path: artifacts/current-kiota/
7676
- name: Download Last Successful Build
77-
uses: dawidd6/action-download-artifact@v2.27.0
77+
uses: dawidd6/action-download-artifact@v2.28.0
7878
with:
7979
workflow: preview-and-release.yml
8080
workflow_conclusion: success

.github/workflows/preview-and-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Easy detect-secrets
2626
uses: RobertFischer/detect-secrets-action@v2.0.0
2727
- name: Set up JDK
28-
uses: actions/setup-java@v3
28+
uses: actions/setup-java@v4
2929
with:
3030
java-version: 18
3131
distribution: 'adopt'
@@ -74,11 +74,11 @@ jobs:
7474
run: .\Scripts\getLatestVersion.ps1
7575
shell: pwsh
7676
- name: Create tag
77-
uses: rickstaa/action-create-tag@v1.6.2
77+
uses: rickstaa/action-create-tag@v1.7.1
7878
with:
7979
tag: ${{ steps.GetVersion.outputs.tag }}
8080
- name: Queue Git Release
81-
uses: benc-uk/workflow-dispatch@v1
81+
uses: benc-uk/workflow-dispatch@v121
8282
with:
8383
workflow: Git Release
8484
token: ${{ secrets.PERSONAL_TOKEN }}

.github/workflows/projectsbot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- name: Generate token
1313
id: generate_token
14-
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
14+
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
1515
with:
1616
app_id: ${{ secrets.GRAPHBOT_APP_ID }}
1717
private_key: ${{ secrets.GRAPHBOT_APP_PEM }}

README.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Microsoft Graph SDK for Java
2+
## Version 6.0.0 now in Release Candidate stage!
23

34
[![Download](https://img.shields.io/nexus/s/https/oss.sonatype.org/com.microsoft.graph/microsoft-graph-beta.svg)](https://oss.sonatype.org/content/repositories/snapshots/com/microsoft/graph/microsoft-graph-beta/)
45

@@ -21,11 +22,11 @@ repositories {
2122
2223
dependencies {
2324
// Include the sdk as a dependency
24-
implementation 'com.microsoft.graph:microsoft-graph-beta:6.0.0-SNAPSHOT'
25+
implementation 'com.microsoft.graph:microsoft-graph-beta:6.0.0-RC'
2526
// Uncomment the line below if you are building an android application
2627
//implementation 'com.google.guava:guava:30.1.1-android'
2728
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
28-
implementation 'com.azure:azure-identity:1.4.0'
29+
implementation 'com.azure:azure-identity:1.11.0'
2930
}
3031
```
3132

@@ -38,13 +39,13 @@ Add the dependency in `dependencies` in pom.xml
3839
<!-- Include the sdk as a dependency -->
3940
<groupId>com.microsoft.graph</groupId>
4041
<artifactId>microsoft-graph-beta</artifactId>
41-
<version>6.0.0-SNAPSHOT</version>
42+
<version>6.0.0-RC</version>
4243
</dependency>
4344
<dependency>
4445
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
4546
<groupId>com.azure</groupId>
4647
<artifactId>azure-identity</artifactId>
47-
<version>1.4.0</version>
48+
<version>1.11.0</version>
4849
</dependency>
4950
```
5051

@@ -98,12 +99,8 @@ After you have a GraphServiceClient that is authenticated, you can begin making
9899
To retrieve the user's information:
99100

100101
```java
101-
graphClient.me().get().thenAccept(me -> {
102-
System.out.printf("Hello %s, your ID is %s%n", me.getDisplayName(), me.getId());
103-
}).exceptionally(err -> {
104-
System.out.printf("Error, %s%n", err.getMessage());
105-
return null;
106-
}).join();
102+
User me = graphClient.me().get();
103+
System.out.printf("Hello %s, your ID is %s%n", me.getDisplayName(), me.getId());
107104
```
108105
## 4. Documentation
109106

android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ buildscript {
66
}
77

88
dependencies {
9-
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.14.1"
9+
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.15.1"
1010
classpath "gradle.plugin.com.github.viswaramamoorthy:gradle-util-plugins:0.1.0-RELEASE"
11-
classpath "com.android.tools.build:gradle:8.1.1"
12-
classpath "com.github.ben-manes:gradle-versions-plugin:0.47.0"
11+
classpath "com.android.tools.build:gradle:8.1.4"
12+
classpath "com.github.ben-manes:gradle-versions-plugin:0.50.0"
1313
}
1414
}
1515

-16 KB
Binary file not shown.

0 commit comments

Comments
 (0)