mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-19 15:09:25 +00:00
updatepacks
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -20,7 +20,6 @@ target/
|
|||||||
*.war
|
*.war
|
||||||
*.nar
|
*.nar
|
||||||
*.ear
|
*.ear
|
||||||
*.zip
|
|
||||||
*.tar.gz
|
*.tar.gz
|
||||||
*.rar
|
*.rar
|
||||||
|
|
||||||
|
|||||||
BIN
Basic_Crop_Pack.zip
Normal file
BIN
Basic_Crop_Pack.zip
Normal file
Binary file not shown.
61
README.md
61
README.md
@@ -4,15 +4,70 @@
|
|||||||
# Custom-Crops
|
# Custom-Crops
|
||||||
StardewValley Like Farming System
|
StardewValley Like Farming System
|
||||||
|
|
||||||
### How to buy
|
### Support the developer
|
||||||
|
|
||||||
https://afdian.net/@xiaomomi
|
https://afdian.net/@xiaomomi
|
||||||
|
|
||||||
https://polymart.org/resource/customcrops.2625
|
https://polymart.org/resource/customcrops.2625
|
||||||
|
|
||||||
### How to compile
|
## How to build
|
||||||
|
|
||||||
./gradlew build and get the jar in /target folder
|
### Windows
|
||||||
|
|
||||||
|
#### Command Line
|
||||||
|
Install JDK 17 and set the JDK installation path to JAVA_HOME as an environment variable.\
|
||||||
|
Start powershell and change directory to the project folder.\
|
||||||
|
Execute ".\gradlew build" and get the jar at /target/CustomFishing-plugin-version.jar.
|
||||||
|
|
||||||
|
#### IDE
|
||||||
|
Import the project and execute gradle build action.
|
||||||
|
|
||||||
|
## Use CustomFishing API
|
||||||
|
|
||||||
|
### Maven
|
||||||
|
|
||||||
|
```
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>jitpack</id>
|
||||||
|
<url>https://jitpack.io/</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
```
|
||||||
|
```
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.github.Xiao-MoMi</groupId>
|
||||||
|
<artifactId>Custom-Crops</artifactId>
|
||||||
|
<version>{LATEST}</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
```
|
||||||
|
### Gradle (Groovy)
|
||||||
|
|
||||||
|
```
|
||||||
|
repositories {
|
||||||
|
maven { url 'https://jitpack.io' }
|
||||||
|
}
|
||||||
|
```
|
||||||
|
```
|
||||||
|
dependencies {
|
||||||
|
compileOnly 'com.github.Xiao-MoMi:Custom-Crops:{LATEST}'
|
||||||
|
}
|
||||||
|
```
|
||||||
|
### Gradle (Kotlin)
|
||||||
|
|
||||||
|
```
|
||||||
|
repositories {
|
||||||
|
maven("https://jitpack.io/")
|
||||||
|
}
|
||||||
|
```
|
||||||
|
```
|
||||||
|
dependencies {
|
||||||
|
compileOnly("com.github.Xiao-MoMi:Custom-Crops:{LATEST}")
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
### API Guide
|
### API Guide
|
||||||
```access transformers
|
```access transformers
|
||||||
|
|||||||
Reference in New Issue
Block a user