Skip to content

Commit

Permalink
添加NeoForge支持,添加HttpPost,优化API,删除bStats,取消支持java11
Browse files Browse the repository at this point in the history
  • Loading branch information
CSneko committed Mar 30, 2024
1 parent be0145e commit 18de2b0
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 24 deletions.
30 changes: 14 additions & 16 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 11 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ repositories {
url = "https://repo.alessiodp.com/releases/"
}
maven { url 'https://jitpack.io' }
maven {
url 'https://repo.nukkitx.com:443/maven-releases'
}
maven {
url 'https://repo.nukkitx.com:443/maven-snapshots'
}

mavenCentral()
}
Expand Down Expand Up @@ -125,7 +119,16 @@ dependencies {
implementation 'net.byteflux:libby-nukkit:1.3.0'
implementation 'net.minecraftforge.gradle:ForgeGradle:6.0.14'
//implementation 'net.minecraftforge:forge:1.20-46.0.14'
implementation fileTree("libs")
implementation name: 'forge-1.20-46.0.14-universal'
implementation name: 'forge-1.20-46.0.14-userdev'
implementation name: 'fmlloader-1.20-46.0.14'
implementation name: 'fmlcore-1.20-46.0.14'
implementation name: 'javafmllanguage-1.20-46.0.14'
implementation name: 'eventbus-6.2.0'
implementation name: 'snakeyaml-2.2'
implementation name: 'nukkit-1.0-SNAPSHOT'
implementation name: 'loader-2.0.17'
implementation "net.neoforged:neoforge:20.4.210"


}
Expand All @@ -143,7 +146,7 @@ processResources {
}
}

def targetJavaVersion = 11
def targetJavaVersion = 17
tasks.withType(JavaCompile).configureEach {
it.options.encoding = "UTF-8"
if (targetJavaVersion >= 10 || JavaVersion.current().isJava10Compatible()) {
Expand Down
Binary file removed libs/synapse-api-1.0-SNAPSHOT.jar
Binary file not shown.

0 comments on commit 18de2b0

Please sign in to comment.