File tree Expand file tree Collapse file tree 7 files changed +125
-1
lines changed Expand file tree Collapse file tree 7 files changed +125
-1
lines changed Original file line number Diff line number Diff line change
1
+ # Tooling Team
2
+ * @ Vonage/server-sdk
3
+ * @ SMadani
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Bug report
3
+ about : Create a report to help us improve
4
+ title : ' '
5
+ labels : ' '
6
+ assignees : ' '
7
+
8
+ ---
9
+
10
+ ** Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ ** To Reproduce**
14
+ Steps to reproduce the behavior:
15
+ 1 . Go to '...'
16
+ 2 . Click on '....'
17
+ 3 . Scroll down to '....'
18
+ 4 . See error
19
+
20
+ ** Expected behavior**
21
+ A clear and concise description of what you expected to happen.
22
+
23
+ ** Screenshots**
24
+ If applicable, add screenshots to help explain your problem.
25
+
26
+ ** Request/Response**
27
+ If applicable, please provide the request used and the response
28
+
29
+ ** Java Version**
30
+ - Version:
31
+
32
+ ** Kotlin Version**
33
+ - Version:
34
+
35
+ ** Kotlin SDK Version**
36
+ - Version:
37
+
38
+ ** Additional context/ Error Log**
39
+ Add any other context about the problem here.
Original file line number Diff line number Diff line change
1
+ _ Describe your changes here_
2
+
3
+ ## Contribution Checklist
4
+ * [ ] Unit tests!
5
+ * [ ] Updated [ CHANGELOG.md] ( CHANGELOG.md )
6
+ * [ ] My name is in [ CONTRIBUTORS.md] ( CONTRIBUTORS.md )
Original file line number Diff line number Diff line change
1
+ name : Build
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ pull_request :
7
+
8
+ permissions : read-all
9
+
10
+ jobs :
11
+ build :
12
+ permissions :
13
+ contents : read
14
+ checks : write
15
+ statuses : write
16
+ runs-on : ${{ matrix.os }}
17
+ strategy :
18
+ fail-fast : true
19
+ matrix :
20
+ java : [11, 17, 21]
21
+ os : [ubuntu-latest, macos-latest, windows-latest]
22
+ steps :
23
+ - name : Checkout the repo
24
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
25
+ - name : Setup Java
26
+ uses : actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
27
+ with :
28
+ distribution : ' temurin'
29
+ java-version : ${{ matrix.java }}
30
+ - name : Setup Gradle
31
+ uses : gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b
32
+ - name : Build with Gradle
33
+ run : ./gradlew build
Original file line number Diff line number Diff line change
1
+ name : " CodeQL"
2
+ on :
3
+ push :
4
+ branches : [ "main" ]
5
+ pull_request :
6
+ branches : [ "main" ]
7
+ schedule :
8
+ - cron : ' 35 2 * * 2'
9
+
10
+ permissions : read-all
11
+
12
+ jobs :
13
+ analyze :
14
+ name : Analyze (${{ matrix.language }})
15
+ runs-on : ' ubuntu-latest'
16
+ permissions :
17
+ security-events : write
18
+ packages : read
19
+ actions : read
20
+ contents : read
21
+
22
+ strategy :
23
+ fail-fast : false
24
+ matrix :
25
+ include :
26
+ - language : java-kotlin
27
+ build-mode : autobuild
28
+ steps :
29
+ - name : Checkout repository
30
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
31
+ - name : Initialize CodeQL
32
+ uses : github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a
33
+ with :
34
+ languages : ${{ matrix.language }}
35
+ build-mode : ${{ matrix.build-mode }}
36
+ - name : Perform CodeQL Analysis
37
+ uses : github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a
38
+ with :
39
+ category : " /language:${{matrix.language}}"
Original file line number Diff line number Diff line change 1
1
# Vonage Quickstart Examples for Kotlin
2
2
3
+ ![ SLOC] ( https://sloc.xyz/github/Vonage/vonage-kotlin-code-snippets )
3
4
[ ![ Contributor Covenant] ( https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg )] ( CODE_OF_CONDUCT.md )
4
5
[ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] ( https://opensource.org/licenses/MIT )
5
6
[ ![ Community Slack] ( https://img.shields.io/badge/Slack-4A154B?style=flat&logo=slack&logoColor=white )] ( https://developer.vonage.com/community/slack )
@@ -33,7 +34,6 @@ Most APIs will require you to [create an application](https://dashboard.nexmo.co
33
34
2 . To work with a different / specific version of the SDK or any dependencies, edit the ` build.gradle.kts ` file.
34
35
4 . Copy ` .env-example ` to ` .env ` and edit the values. The [ EnvironmentVariables.kt] ( src/main/kotlin/com/vonage/quickstart/kt/EnvironmentVariables.kt ) file is where they're loaded.
35
36
5 . Use your IDE to run the examples you are interested in.
36
- You will need to point the run configuration to use the ` .env ` file as an environment variable.
37
37
38
38
## Searchable Examples
39
39
See [ SNIPPETS.md] ( SNIPPETS.md ) for an aggregated list of all the code in this repository. You can then
Original file line number Diff line number Diff line change
1
+
2
+ // This is a workaround for the required property in com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
3
+ project.setProperty(" mainClassName" , " AggregateSnippetsKt" )
4
+
1
5
plugins {
2
6
kotlin(" jvm" ) version " 2.1.+"
3
7
id(" io.ktor.plugin" ) version " 3.0.+"
You can’t perform that action at this time.
0 commit comments