Skip to content

Commit dd3b7e5

Browse files
committed
Update tooling to match v1
1 parent 1acd1ec commit dd3b7e5

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
lint-api-level:
16-
runs-on: ubuntu-latest
16+
runs-on: [self-hosted, 1ES.Pool=1es-ubuntu-msgraph-beta-sdk-java-mem-latest]
1717
steps:
1818
- uses: actions/checkout@v3
1919
- uses: actions/setup-java@v3

android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
# The size of the library demands a large amount of RAM to build. Increase as necessary if you get GC errors
2121
## linux requires 10G, OSX requires 11G
22-
org.gradle.jvmargs=-Xmx8g
22+
org.gradle.jvmargs=-Xmx16g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
2323
org.gradle.parallel=true
2424
org.gradle.caching=true
2525

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ def fixAscNames = { name ->
154154

155155
compileJava {
156156
options.compilerArgs << "-parameters"
157-
sourceCompatibility = '17'
158-
targetCompatibility = '17'
157+
sourceCompatibility = '1.8'
158+
targetCompatibility = '1.8'
159159
}
160160

161161
def getVersionCode() {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
# The size of the library demands a large amount of RAM to build. Increase as necessary if you get GC errors
2121
## linux requires 10G, OSX requires 11G
22-
org.gradle.jvmargs=-Xmx8g
22+
org.gradle.jvmargs=-Xmx8g -XX:MaxMetaspaceSize=2g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
2323
org.gradle.parallel=true
2424
org.gradle.caching=true
2525

gradle/dependencies.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ dependencies {
55
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.2'
66
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.2'
77
testImplementation 'org.mockito:mockito-inline:5.2.0'
8-
compileOnly 'com.github.spotbugs:spotbugs-annotations:4.7.0'
98

109
// Core Http library
1110
api 'com.microsoft.graph:microsoft-graph-core:3.0.3-SNAPSHOT'

0 commit comments

Comments
 (0)