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

构建错误 #37

Open
goosetalk opened this issue Dec 1, 2024 · 1 comment
Open

构建错误 #37

goosetalk opened this issue Dec 1, 2024 · 1 comment

Comments

@goosetalk
Copy link

org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.9.20'] was not found in any of the following sources:

  • Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
  • Plugin Repositories (could not resolve plugin artifact 'org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.9.20')

我不了解怎么构建Kotlin项目,如果有错误,请指正

使用JDK17,用Download as zip下载的

我会一点ForgeGradle和Maven,但既不熟悉Gradle本身(配置文件具体构造,etc.)也不熟悉Kotlin

@AnonkFLY
Copy link

AnonkFLY commented Dec 9, 2024

gradle.properties文件中配置了代理服务器,一般来说你需要删除该两行后重新同步项目

systemProp.https.proxyHost=127.0.0.1
systemProp.https.proxyPort=20809

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants