English | 简体中文
WIP: 该项目正被积极开发,你可以参与贡献,但大多数功能不可用。
如你所见,我们的项目名为 Sorapointa。这来自于 Java
中闻名的 NullPointerException
。
我们将 NullPointer
日语化再以英语拟音,得到了这个名字。
Sorapointa 旨在减少运行时错误,编写可读性高、易于维护的代码。因此,Sorapointa 避免 Sorapointa。
Sorapointa 可以写成对应的汉字「空想家」,但无论如何,请你读作 Sorapointa
需要:
- JDK 17
./gradlew shadowJar
# 如果你想运行测试
./gradlew test
在项目根目录创建 local.properties
并编辑。配置使用 Java .properties
格式。
key | 描述 | 可用值 |
---|---|---|
database.default |
为新配置填充的默认数据库 | SQLITE , POSTGRESQL |
database.driver.list |
构建将提供的数据库驱动列表 | SQLITE , POSTGRESQL |
proto.fullCompile |
为 proto 开启全量编译 | true |
示例:
database.default=SQLITE
database.driver.list=SQLITE,POSTGRESQL
proto.fullCompile=true
参见:CONTRIBUTING,以及对应模块的 README。
- HolographicHat - Supports a lot on algorithms and computer security.
- JVM - The best programming language VM
- Kotlin - A modern programming language that makes developers happier.
- IDEA - Capable and Ergonomic IDE for JVM
- Grasscutter
- kotlinx.serialization - Kotlin multiplatform / multi-format reflectionless serialization
- kotlinx.coroutines - A rich library for coroutines developed by JetBrains
- kotlinx.atomicfu - The idiomatic way to use atomic operations in Kotlin
- Ktor - An asynchronous framework for creating microservices, web applications and more.
- Netty - Netty is an asynchronous event-driven network application framework
- Exposed - Kotlin SQL Framework
- Clikt - Multiplatform command line interface parsing for Kotlin
- Kotlin-Logging - Lightweight logging framework for Kotlin
- Password4j - Password4j is a user-friendly cryptographic library that supports Argon2 and so on
- JLine - JLine is a Java library for handling console input.
- yamlkt - Multiplatform YAML parser & serializer for kotlinx.serialization
- Protobuf - Protocol buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data