Skip to content

Commit 32c7826

Browse files
authored
Merge pull request #807 from microsoftgraph/dev
2.0.18 release
2 parents 4ce634b + 404dbfb commit 32c7826

File tree

20 files changed

+37
-46
lines changed

20 files changed

+37
-46
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ updates:
4242
schedule:
4343
interval: daily
4444
open-pull-requests-limit: 10
45-
- package-ecosystem: maven
45+
- package-ecosystem: maven
4646
directory: "/"
4747
target-branch: v3/longTermBranch
4848
schedule:

.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@v3
1414
- name: Download Build Artifact
15-
uses: dawidd6/action-download-artifact@v2.26.0
15+
uses: dawidd6/action-download-artifact@v2.27.0
1616
with:
1717
workflow: build-and-publish.yml
1818
workflow_conclusion: success

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12+
## [2.0.18] - 2023-04-06
13+
14+
### Changed
15+
16+
- Fix `getRequestUrl()` and `getClient()` wrongfully being declared `@Nullable` in `BaseRequestBuilder`.
17+
1218
## [2.0.17] - 2023-03-20
1319

1420
### Changed

android/AndroidManifest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:tools="http://schemas.android.com/tools"
4-
package="com.microsoft.graph"
54
android:installLocation="auto"
65
tools:ignore="UnusedAttribute">
76

android/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ buildscript {
88
}
99

1010
dependencies {
11-
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.12.4"
12-
classpath "com.android.tools.build:gradle:7.4.2"
11+
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.13"
12+
classpath "com.android.tools.build:gradle:8.0.0"
1313
classpath "com.github.ben-manes:gradle-versions-plugin:0.46.0"
1414
}
1515
}
@@ -23,6 +23,8 @@ apply plugin: "com.android.library"
2323
apply plugin: "com.github.ben-manes.versions"
2424

2525
android {
26+
namespace "com.microsoft.graph"
27+
2628
compileSdkVersion 33
2729

2830
defaultConfig {
-935 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

android/gradlew

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,6 @@ set -- \
205205
org.gradle.wrapper.GradleWrapperMain \
206206
"$@"
207207

208-
# Stop when "xargs" is not available.
209-
if ! command -v xargs >/dev/null 2>&1
210-
then
211-
die "xargs is not available"
212-
fi
213-
214208
# Use "xargs" to parse quoted args.
215209
#
216210
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.

android/gradlew.bat

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@rem limitations under the License.
1515
@rem
1616

17-
@if "%DEBUG%"=="" @echo off
17+
@if "%DEBUG%" == "" @echo off
1818
@rem ##########################################################################
1919
@rem
2020
@rem Gradle startup script for Windows
@@ -25,7 +25,7 @@
2525
if "%OS%"=="Windows_NT" setlocal
2626

2727
set DIRNAME=%~dp0
28-
if "%DIRNAME%"=="" set DIRNAME=.
28+
if "%DIRNAME%" == "" set DIRNAME=.
2929
set APP_BASE_NAME=%~n0
3030
set APP_HOME=%DIRNAME%
3131

@@ -40,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
4040

4141
set JAVA_EXE=java.exe
4242
%JAVA_EXE% -version >NUL 2>&1
43-
if %ERRORLEVEL% equ 0 goto execute
43+
if "%ERRORLEVEL%" == "0" goto execute
4444

4545
echo.
4646
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
@@ -75,15 +75,13 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
7575

7676
:end
7777
@rem End local scope for the variables with windows NT shell
78-
if %ERRORLEVEL% equ 0 goto mainEnd
78+
if "%ERRORLEVEL%"=="0" goto mainEnd
7979

8080
:fail
8181
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
8282
rem the _cmd.exe /c_ return code!
83-
set EXIT_CODE=%ERRORLEVEL%
84-
if %EXIT_CODE% equ 0 set EXIT_CODE=1
85-
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
86-
exit /b %EXIT_CODE%
83+
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
84+
exit /b 1
8785

8886
:mainEnd
8987
if "%OS%"=="Windows_NT" endlocal

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ plugins {
1414
id 'maven-publish'
1515
id 'signing'
1616
id 'jacoco'
17-
id 'com.github.spotbugs' version '5.0.13'
17+
id 'com.github.spotbugs' version '5.0.14'
1818
id "org.sonarqube" version "4.0.0.2929"
1919
}
2020

@@ -38,7 +38,7 @@ spotbugsMain {
3838
excludeFilter = file("spotBugsExcludeFilter.xml")
3939
reports {
4040
html {
41-
enabled = true
41+
required
4242
destination = file("$buildDir/reports/spotbugs/main/spotbugs.html")
4343
stylesheet = 'fancy-hist.xsl'
4444
}
@@ -49,7 +49,7 @@ spotbugsTest {
4949
excludeFilter = file("spotBugsExcludeFilter.xml")
5050
reports {
5151
html {
52-
enabled = true
52+
required
5353
destination = file("$buildDir/reports/spotbugs/test/spotbugs.html")
5454
stylesheet = 'fancy-hist.xsl'
5555
}
@@ -58,7 +58,7 @@ spotbugsTest {
5858

5959
jacocoTestReport {
6060
reports {
61-
xml.enabled true
61+
xml.required
6262
}
6363
}
6464

0 commit comments

Comments
 (0)