Skip to content

Commit 6772a2a

Browse files
committed
- fixes an issue where parameters names would not be displayed properly
1 parent bc49084 commit 6772a2a

File tree

3 files changed

+22
-7
lines changed

3 files changed

+22
-7
lines changed

.github/workflows/type-summary.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
- name: Add execution right to the script
1818
run: chmod +x gradlew
1919
working-directory: ./typesummary
20-
- name: Build SDK
21-
run: ./gradlew --no-daemon build
2220
- name: Build and run type summary project
2321
run: ./gradlew --no-daemon run --args='-o ${{ github.workspace }}/typeSummary.txt'
2422
working-directory: ./typesummary

typesummary/app/build.gradle

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,35 @@ plugins {
1414
repositories {
1515
// Use JCenter for resolving dependencies.
1616
jcenter()
17-
flatDir {
18-
dirs '../../build/libs'
17+
}
18+
19+
sourceSets {
20+
main {
21+
java {
22+
srcDirs 'src'
23+
srcDirs '../../src/main'
24+
}
1925
}
26+
27+
2028
}
2129

22-
dependencies {
30+
compileJava {
31+
options.compilerArgs << "-parameters"
32+
}
33+
34+
dependencies { // TODO replace by reference to dependencies.gradle in v3
2335
// Use JUnit test framework.
2436
testImplementation 'junit:junit:4.13'
2537

2638
// This dependency is used by the application.
2739
implementation 'com.google.guava:guava:29.0-jre'
2840

29-
implementation 'com.microsoft.graph:microsoft-graph-core:1.0.5'
41+
implementation 'com.google.code.gson:gson:2.8.6'
3042

31-
implementation name: 'msgraph-sdk-java'
43+
implementation 'com.squareup.okhttp3:okhttp:3.12.1'
44+
45+
implementation 'com.microsoft.graph:microsoft-graph-core:1.0.5'
3246
}
3347

3448
application {

typesummary/app/gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
org.gradle.jvmargs=-XX:MaxPermSize=512m -Xmx2g
2+
org.gradle.parallel=true
3+
org.gradle.caching=true

0 commit comments

Comments
 (0)