Skip to content

Commit

Permalink
Bump and publishing.
Browse files Browse the repository at this point in the history
Signed-off-by: 秋雨落 <[email protected]>
  • Loading branch information
qyl27 committed Feb 21, 2024
1 parent febcdb3 commit fb7f640
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CatsPlus
Make cats in Minecraft more fun!
Make cats in Minecraft more fun!

## Current Features
## Features
- [x] Feed your cats with cooked fish.
- [x] Hold a cat on your head!
- [x] Cat bag that can carry your cat in your inventory!
Expand All @@ -11,6 +11,7 @@ Make cats in Minecraft more fun!

## Todo
- [ ] Forge support.
- [ ] Respawn your cats which was died.
- [ ] Better cat favorability system.
- [ ] Wishing cat.
- [ ] Cat scratching posts and cat climbing frames for cats to play.
Expand Down
17 changes: 16 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ allprojects {
apply plugin: 'maven-publish'

group = 'cuteneko.catsplus'
version = project.mod_version
version = "${project.mod_version}+mc${project.minecraft_version}"

architectury {
minecraft = project.minecraft_version
Expand Down Expand Up @@ -86,6 +86,21 @@ allprojects {
publishing {
repositories {
mavenLocal()

maven {
name = 'YuluoMaven'

def ENV = System.getenv();

def releaseUrl = 'https://maven.yuluo.dev/repository/maven-releases/'
def snapshotUrl = 'https://maven.yuluo.dev/repository/maven-snapshots/'
url = ENV.MOD_RELEASE ? releaseUrl : snapshotUrl

credentials {
username ENV.MOD_MAVEN_USER
password ENV.MOD_MAVEN_PASS
}
}
}
}
}
Expand Down
1 change: 1 addition & 0 deletions catsplus-fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ publishing {
publications {
mavenFabric(MavenPublication) {
artifactId = project.name
version = "true".equalsIgnoreCase(System.getenv("MOD_RELEASE")) ? version : "${version}-SNAPSHOT"
from components.java
}
}
Expand Down

0 comments on commit fb7f640

Please sign in to comment.