https://github.com/xpdojo/kotlin
Kotlin is designed to interoperate fully with Java, and the JVM version of Kotlin's standard library depends on the Java Class Library, but type inference allows its syntax to be more concise.
https://github.com/xpdojo/kotlin
android gradle kotlin springboot
Last synced: about 1 month ago
JSON representation
Kotlin is designed to interoperate fully with Java, and the JVM version of Kotlin's standard library depends on the Java Class Library, but type inference allows its syntax to be more concise.
- Host: GitHub
- URL: https://github.com/xpdojo/kotlin
- Owner: xpdojo
- License: gpl-3.0
- Created: 2022-09-14T17:50:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-19T18:27:48.000Z (over 3 years ago)
- Last Synced: 2025-10-17T15:56:46.517Z (8 months ago)
- Topics: android, gradle, kotlin, springboot
- Language: Kotlin
- Homepage: https://en.wikipedia.org/wiki/Kotlin_(programming_language)
- Size: 86.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kotlin
## 설치
```sh
sdk list kotlin
// 1.7.10 ...
sdk install kotlin 1.7.10
```
```sh
kotlin -version
// Kotlin version 1.7.10-release-333 (JRE 11.0.16+8-post-Ubuntu-0ubuntu122.04)
```
## 실행
Gradle과 같은 빌드 도구 없이 스크립트를 실행할 수 있다.
```kotlin
// assert.kts
val a = 1
val b = 2
assert(a != b)
```
```sh
kotlinc -script assert.kts
```
## 참조
- [Kotlin command-line compiler: Run scripts](https://kotlinlang.org/docs/command-line.html#run-scripts) - Kotlin 공식 문서