• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

etiennestuder/gradle-plugindev-plugin: Gradle plugin that facilitates the bundli ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

etiennestuder/gradle-plugindev-plugin

开源软件地址(OpenSource Url):

https://github.com/etiennestuder/gradle-plugindev-plugin

开源编程语言(OpenSource Language):

Groovy 67.7%

开源软件介绍(OpenSource Introduction):

gradle-plugindev-plugin

The work on this software project is in no way associated with my employer nor with the role I'm having at my employer. Any requests for changes will be decided upon exclusively by myself based on my personal preferences. I maintain this project as much or as little as my spare time permits.

Overview

Gradle plugin that facilitates the build configuration of a Gradle plugin project.

Hosting of 3rd-party Gradle plugins via Bintray is no longer supported by JFrog. As a consequence, the value the plugindev plugin once used to provide is now highly diminished.

The plugindev plugin is hosted at the Gradle Plugin Portal.

Build scan

Recent build scan: https://gradle.com/s/bzxoqt2io4epw

Find out more about build scans for Gradle and Maven at https://scans.gradle.com.

Functionality

The following functionality is provided by the plugindev plugin:

  • Applies the JavaGradlePluginPlugin plugin to the project
  • Includes MavenCentral as a repository for dependency resolution
  • Sets the compiler source and target compatibility to 1.8
  • Adds some build metadata to the jar files' manifest file

Prerequisites

The following one-time setup must already be present for the plugindev plugin to continue to do its work:

  1. You must have a user account with the Gradle Plugin Portal
  2. You must have created an API key for uploading to the Gradle Plugin Portal

Configuration

Apply plugindev plugin

Apply the nu.studer.plugindev plugin to your Gradle plugin project. Make sure to also apply the groovy plugin if you intend to write your plugin in Groovy.

plugins {
  id 'nu.studer.plugindev' version '4.1'
}

Set group and version

Set the group and version of your Gradle plugin project.

group = 'org.example'
version = '0.0.1.DEV'

Declare external dependencies

Declare the external dependencies of your Gradle plugin project, if any.

dependencies {
  implementation 'nu.studer:java-ordered-properties:1.0.4'
  testImplementation 'org.spockframework:spock-core:2.0-groovy-3.0'
}

Changelog

  • 4.1 - Use toolchain support instead of setting source/target compatibility.
  • 4.0 - Fix deprecated API usages and make Gradle 7.1 the minimum required version.
  • 3.0 - Change from publishing to Bintray to publishing to the Plugin Portal directly.
  • 2.0 - Add compatibility with Gradle 7.0
  • 1.0.12 - Add compatibility all the way back to Gradle 3.5.1.
  • 1.0.11 - Register custom tasks at plugin application time.
  • 1.0.10 - Include plugin under test meta data file to run functional tests with TestKit.
  • 1.0.9 - Set issueManagement.url and license.distribution in pom.xml.
  • 1.0.8 - Set source and target compatibility for Java and Groovy to 1.8.
  • 1.0.7 - Use version 1.8.4 of gradle-bintray-plugin. Build gradle-plugindev-plugin project with Gradle 4.10.3.
  • 1.0.6 - Downgrade to version 1.6 of gradle-bintray-plugin to avoid requirement on Java 8.
  • 1.0.5 - Use version 1.7 of gradle-bintray-plugin. Build gradle-plugindev-plugin project with Gradle 2.14.
  • 1.0.4 - Use version 1.2 of gradle-bintray-plugin.
  • 1.0.3 - Use version 1.0.1 of java-ordered-properties dependency.
  • 1.0.2 - Simplify code by making use of java-ordered-properties dependency.
  • 1.0.1 - Include the plugindev plugin version in the MANIFEST file of the archives.
  • 1.0.0 - Initial public version of the plugindev plugin.

Feedback and Contributions

Both feedback and contributions are very welcome.

Acknowledgements

None, yet.

License

This plugin is available under the Apache License, Version 2.0.

(c) by Etienne Studer




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap