Skip to content

Commit e8dce91

Browse files
committed
Tooling
1 parent 7b6ab90 commit e8dce91

File tree

11 files changed

+20
-35
lines changed

11 files changed

+20
-35
lines 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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildscript {
99

1010
dependencies {
1111
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.13"
12-
classpath "com.android.tools.build:gradle:7.4.2"
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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

gradle/wrapper/gradle-wrapper.jar

-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

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.

0 commit comments

Comments
 (0)