英文:
How to use latest gradle-ospackage-plugin from GitHub
问题
I have recently upgraded to Gradle 8 finding out that the nebula.ospackage
plugin distributed in Gradle plugin Portal is not compatible.
In gradle-ospackage-plugin GitHub repo, there's the 11 version which claim to resolve the incompatibility with Gradle 8.
This code doesn't work:
plugins {
id "nebula.ospackage" version "11.0.0"
}
with:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'nebula.ospackage:nebula.ospackage.gradle.plugin:11.0.0')
Searched in the following repositories:
Gradle Central Plugin Repository
How to use in Gradle a plugin from GitHub and not from the official Gradle Plugin site?
Thanks
英文:
I have recently upgraded to Gradle 8 finding out that the nebula.ospackage
plugin distributed in Gradle plugin Portal is not compatible.
In gradle-ospackage-plugin GitHub repo, there's the 11 version which claim to resolve the incompatibility with Gradle 8.
This code doesn't work:
plugins {
id "nebula.ospackage" version "11.0.0"
}
with:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'nebula.ospackage:nebula.ospackage.gradle.plugin:11.0.0')
Searched in the following repositories:
Gradle Central Plugin Repository
How to use in Gradle a plugin from GitHub and not from the official Gradle Plugin site?
Thanks
答案1
得分: 3
我已经找到了使用最新的Gradle OSPackage插件的方法,它只是从nebula.ospackage
更改为com.netflix.nebula.ospackage
,所以:
plugins {
id "com.netflix.nebula.ospackage" version "11.0.0"
}
完美运行!
英文:
I have found the way to use the latest gradle ospackage plugin, it has just changed name from nebula.ospackage
to com.netflix.nebula.ospackage
so:
plugins {
id "com.netflix.nebula.ospackage" version "11.0.0"
}
works perfectly !
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论