Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build problem about can't download agency.highlysuspect.minivan.gradle.plugin #4779

Closed
NWproject opened this issue Jan 8, 2025 · 3 comments

Comments

@NWproject
Copy link

Mod Loader

Fabric

Minecraft Version

1.20.1

Botania version

1.20.1

Modloader version

Fabric: Loader 0.15.6 + API 0.92.1+1.20.1

Modpack info

No response

The latest.log file

https://gist.github.com/NWproject/3a561fee126a93e82894ba291781c0d3

Issue description

When I excute .\gradlew build after download botania1.20.x, I encountered several problems。I tried to solve them but this one about Xplat I can't.
I got the build failed infomation while downloading the agency.highlysuspect.minivan.gradle.plugin pom file.
I check the link https://repo.sleeping.town/agency/highlysuspect/minivan/agency.highlysuspect.minivan.gradle.plugin/0.5/ and can''t find any jar file.

  • Where:
    Build file 'E:\Minecraft\Fabric\Botania-1.20.x\Xplat\build.gradle' line: 3
  • What went wrong:
    Plugin [id: 'agency.highlysuspect.minivan', version: '0.5'] was not found in any of the following sources:

Steps to reproduce

1.download botania 1.20.x
2.run .\gradlew build and get several failed info about can't find some file in repositories,such as ears-api-1.4.5 and minivan-0.5
3.download ears-api and minivan’s jar and pom file manually,create a “libs” folder in the project‘s root folder and put them in.
4.add flatDir { dirs "$rootDir/libs"} to repositories block in fabric、forge、Xplat’s build.gradle file and add classpath files('libs/minivan-0.5.jar') in dependencies in Xplat's build.gradle.
5.run .\gradlew build again and then get this failed infomation, download agency.highlysuspect.minivan.gradle.plugin-0.5.pom mannully can't solve the problem.

Other information

No response

@TheRealWormbo
Copy link
Collaborator

You should not have to download anything manually. Dependencies and build plugins are available in the repositories defined in the various Gradle build script files.

However, I've never tried running the build on a Windows system. Make sure you don't have any security software blocking access to the various external Maven repositories, and maybe try running the build from a Git Bash instead of a Windows command prompt or Powershell console.

(I might try doing a build on my old Windows 7 system at some point, but no guarantee this is representative of current Windows systems.)

@NWproject
Copy link
Author

You should not have to download anything manually. Dependencies and build plugins are available in the repositories defined in the various Gradle build script files.

However, I've never tried running the build on a Windows system. Make sure you don't have any security software blocking access to the various external Maven repositories, and maybe try running the build from a Git Bash instead of a Windows command prompt or Powershell console.

(I might try doing a build on my old Windows 7 system at some point, but no guarantee this is representative of current Windows systems.)

I tried to build in Git Bash and got the same result.

I got connect failed infomation when I use $ curl -I https://repo.sleeping.town/ to check the connection,
then I changed the V2rayN setting to check the option to remove the Windows Terminal entry from the Win10 UWP app loopback proxy restriction,and set the proxy in Git Bash : export all_proxy="socks5://127.0.0.1:10808".
After that,I checked the connection again and got code200 response.
But this doesn't make any difference,I'll try another vpn later.

@TheRealWormbo
Copy link
Collaborator

The server is definitely accessible, it's probably a VPN issue on your or that server's side. I'll close this issue now, as it's not really Botania-specific.

@TheRealWormbo TheRealWormbo closed this as not planned Won't fix, can't repro, duplicate, stale Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants