Skip to content

Commit

Permalink
Merge pull request #8 from Enaium/develop
Browse files Browse the repository at this point in the history
0.3.0
  • Loading branch information
Enaium authored Apr 13, 2023
2 parents 69c499e + 3abc7b9 commit d2799f5
Show file tree
Hide file tree
Showing 164 changed files with 3,522 additions and 3,821 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle

name: Java CI with Gradle

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master", "develop" ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'liberica'
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build
gradle-version: 8.1
38 changes: 35 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
HELP.md
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/

### IntelliJ IDEA ###
.idea
**/build
test/src/main/resources/application.properties
test/src/test/resources/application.properties
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###
.vscode/
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# kook-spring-boot-stater

![OpenJDK](https://img.shields.io/badge/OpenJDK-8-purple?style=for-the-badge&logo=OpenJDK)
![Maven-Central](https://img.shields.io/maven-central/v/cn.enaium/kook-spring-boot-starter?style=for-the-badge)
![OpenJDK](https://img.shields.io/badge/OpenJDK-17-white?style=flat-square&logo=OpenJDK)
![SpringBoot](https://img.shields.io/badge/SpringBoot-3-green?style=flat-square&logo=SpringBoot)
![Maven-Central](https://img.shields.io/maven-central/v/cn.enaium/kook-spring-boot-starter?style=flat-square)
![JitPack](https://img.shields.io/jitpack/version/com.github.Enaium/kook-spring-boot-starter?style=flat-square)
![GitHub](https://img.shields.io/github/license/enaium/kook-spring-boot-starter?style=flat-square)

支持了所有的HttpAPI和Websocket事件,可以在`test`里查看例子
支持了所有的Http接口和Websocket事件,可以在`kookstarter-sample`里查看例子

最新版本以maven仓库中版本为准

## 依赖

```xml
<dependency>
<groupId>cn.enaium</groupId>
Expand All @@ -19,4 +24,10 @@
implementation 'cn.enaium:kook-spring-boot-starter:最新版本'
```

```kts
implementation("cn.enaium:kook-spring-boot-starter:最新版本")
```

本项目使用了`webflux`也需要添加`webflux`依赖

提交pr时请提交到`develop`而不是`master`
5 changes: 0 additions & 5 deletions build.gradle

This file was deleted.

18 changes: 18 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
allprojects {
group = "cn.enaium"
version = "0.3.0"

repositories {
mavenCentral()
}
}

subprojects {
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}

tasks.withType<Javadoc> {
options.encoding = "UTF-8"
}
}
111 changes: 0 additions & 111 deletions core/build.gradle

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit d2799f5

Please sign in to comment.