File tree Expand file tree Collapse file tree 5 files changed +5
-6
lines changed
Expand file tree Collapse file tree 5 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1313
1414jobs :
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
Original file line number Diff line number Diff line change 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
2323org.gradle.parallel =true
2424org.gradle.caching =true
2525
Original file line number Diff line number Diff line change @@ -154,8 +154,8 @@ def fixAscNames = { name ->
154154
155155compileJava {
156156 options. compilerArgs << " -parameters"
157- sourceCompatibility = ' 17 '
158- targetCompatibility = ' 17 '
157+ sourceCompatibility = ' 1.8 '
158+ targetCompatibility = ' 1.8 '
159159}
160160
161161def getVersionCode () {
Original file line number Diff line number Diff line change 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
2323org.gradle.parallel =true
2424org.gradle.caching =true
2525
Original file line number Diff line number Diff 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'
You can’t perform that action at this time.
0 commit comments