Skip to content

Commit

Permalink
feat: maven
Browse files Browse the repository at this point in the history
  • Loading branch information
cssxsh committed Jan 27, 2022
1 parent af1a802 commit 01e375a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

> Mirai DeviceInfo 生成器
[![maven-central](https://img.shields.io/maven-central/v/xyz.cssxsh.mirai/mirai-device-generator)](https://search.maven.org/artifact/xyz.cssxsh.mirai/mirai-device-generator)

## board 编号

### 骁龙系列

Expand Down
10 changes: 10 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,21 @@ plugins {
kotlin("plugin.serialization") version "1.6.0"

id("net.mamoe.mirai-console") version "2.10.0-RC2"
id("net.mamoe.maven-central-publish") version "0.7.0"
}

group = "xyz.cssxsh.mirai"
version = "1.0.0-dev"

mavenCentralPublish {
useCentralS01()
singleDevGithubProject("cssxsh", "mirai-device-generator")
licenseFromGitHubProject("AGPL-3.0", "master")
publication {
artifact(tasks.getByName("buildPlugin"))
}
}

repositories {
mavenLocal()
maven("https://maven.aliyun.com/repository/central")
Expand Down

0 comments on commit 01e375a

Please sign in to comment.