/
githubmirror
/
halo
Обзор
Документация
Войти
/
githubmirror
/
halo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
platform/plugin/build.gradle
31 строка
712 B
John Niang
Fix failing checks of staging repository when releasing to Maven (#7114)
05 дек 2024, 11:45
Не верифицирован
05 дек 2024, 11:45
348e7c9
Код
Авторство
О чём код?
plugins { id 'java-platform' id 'halo.publish' } group = 'run.halo.tools.platform' description = 'This is the platform that other plugins depend on. ' + 'We can put the plugin API as a dependency at here.' javaPlatform { allowDependencies() } dependencies { api platform(project(':platform:application')) constraints { api project(':api') // TODO other plugin API dependencies // e.g.: api 'halo.run.plugin:links-api:1.1.0' } } publishing { publications.named('mavenJava', MavenPublication) { from components.javaPlatform pom { name = 'Plugin platform' description = "$project.description" } } }