diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index feb85f1a..353aac21 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: - name: Run Build uses: gradle/gradle-build-action@v2.4.0 with: - arguments: clean ktlintCheck build -s + arguments: ktlintCheck build -s - name: Upload Artifacts uses: actions/upload-artifact@v3.1.2 @@ -75,7 +75,9 @@ jobs: - name: Publish uses: gradle/gradle-build-action@v2.4.0 with: - arguments: clean publish -s + arguments: publish -s env: - ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }} - ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }} + ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} + ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} + ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_PRIVATE_KEY }} + ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 66cac979..935530c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,58 +1,76 @@ # Change Log -## Version 0.9.0 (2022-04-22) -* Use Maven APIs -* [#191](https://github.com/jaredsburrows/gradle-license-plugin/pull/191) Fix license report task in multi-project setups -* [#190](https://github.com/jaredsburrows/gradle-license-plugin/pull/190) Fix copyCsvReportToAssets in README.md -* [#184](https://github.com/jaredsburrows/gradle-license-plugin/pull/184) Plugin cannot be used in non-Android application projects +## Version 0.9.1 *(2023-03-20)* + * [#247](https://github.com/jaredsburrows/gradle-license-plugin/pull/247) CsvReport: missing values converted to empty strings + * [#245](https://github.com/jaredsburrows/gradle-license-plugin/pull/245) CsvReport: escape special characters + * [#242](https://github.com/jaredsburrows/gradle-license-plugin/pull/242) Support plain-Kotlin Gradle projects + * [#218](https://github.com/jaredsburrows/gradle-license-plugin/pull/218) Replaced ignoredGroups with ignoredPatterns + * [#213](https://github.com/jaredsburrows/gradle-license-plugin/pull/213) Re-run the license task on the project configurations/dependencies changes + * [#205](https://github.com/jaredsburrows/gradle-license-plugin/pull/205) Use moshi + * [#202](https://github.com/jaredsburrows/gradle-license-plugin/pull/202) Use maven parser + * [#168](https://github.com/jaredsburrows/gradle-license-plugin/pull/168) Added option to ignore a set of group IDs from the report + * [#159](https://github.com/jaredsburrows/gradle-license-plugin/pull/159) Update html css to support word-breaking on long lines + * [#58](https://github.com/jaredsburrows/gradle-license-plugin/pull/58) Feature - option to copy reports into variant-specific asset directories + +Many thanks to +[@danielesegato](https://github.com/danielesegato) +[@mudkiplex](https://github.com/mudkiplex) +[@rabidaudio](https://github.com/rabidaudio) +[@nisrulz](https://github.com/nisrulz) +for the code contributions! + +## Version 0.9.0 *(2022-04-22)* + * Use Maven APIs + * [#191](https://github.com/jaredsburrows/gradle-license-plugin/pull/191) Fix license report task in multi-project setups + * [#190](https://github.com/jaredsburrows/gradle-license-plugin/pull/190) Fix copyCsvReportToAssets in README.md + * [#184](https://github.com/jaredsburrows/gradle-license-plugin/pull/184) Plugin cannot be used in non-Android application projects Many thanks to [@flobetz](https://github.com/fllink) [@Bradan](https://github.com/Bradan) for the code contributions! -## Version 0.8.91 (2022-04-10) -* [#172](https://github.com/jaredsburrows/gradle-license-plugin/pull/172) Avoid processing *.aar dependencies which can not be parsed and cause gradle failures +## Version 0.8.91 *(2022-04-10)* + * [#172](https://github.com/jaredsburrows/gradle-license-plugin/pull/172) Avoid processing *.aar dependencies which can not be parsed and cause gradle failures Many thanks to [@flobetz](https://github.com/flobetz) for the code contributions! -## Version 0.8.90 (2020-12-30) +## Version 0.8.90 *(2020-12-30)* * [#140](https://github.com/jaredsburrows/gradle-license-plugin/pull/140) Added CSV report support * [#134](https://github.com/jaredsburrows/gradle-license-plugin/pull/134) Add android library subproject dependencies to the report - Many thanks to - [@mkubiczek](https://github.com/mkubiczek) - for the code contributions! +Many thanks to +[@mkubiczek](https://github.com/mkubiczek) +for the code contributions! -## Version 0.8.80 (2020-05-29) +## Version 0.8.80 *(2020-05-29)* * [#127](https://github.com/jaredsburrows/gradle-license-plugin/pull/127) Remove instant app plugin, support feature, library and application -## Version 0.8.70 (2020-03-03) +## Version 0.8.70 *(2020-03-03)* * Fix bad versioning - 0.8.7 -> 0.8.70, new snapshot is 0.8.80-SNAPSHOT - Many thanks to - [@PaulWoitaschek](https://github.com/PaulWoitaschek) - for the code contributions! +Many thanks to +[@PaulWoitaschek](https://github.com/PaulWoitaschek) +for the code contributions! -## Version 0.8.7 (2020-03-01) +## Version 0.8.7 *(2020-03-01)* * [#112](https://github.com/jaredsburrows/gradle-license-plugin/pull/112) Fix windows file path * [#114](https://github.com/jaredsburrows/gradle-license-plugin/pull/114) Include Copyright owner/date in HTML license report; show multiple licenses * [#118](https://github.com/jaredsburrows/gradle-license-plugin/pull/118) Add another official spelling of the MIT License URL - Many thanks to - [@DonnKey](https://github.com/DonnKey) - for the code contributions! +Many thanks to +[@DonnKey](https://github.com/DonnKey) +for the code contributions! -## Version 0.8.6 (2019-10-14) +## Version 0.8.6 *(2019-10-14)* * Finished converting plugin to Kotlin * [#99](https://github.com/jaredsburrows/gradle-license-plugin/pull/99) Make sure to use correct Path.Separator * [#102](https://github.com/jaredsburrows/gradle-license-plugin/pull/102) Initiate extension earlier in setup process * [#103](https://github.com/jaredsburrows/gradle-license-plugin/pull/103) Use Console Renderer to handle cross platform terminal printing -## Version 0.8.5 (2019-04-23) - +## Version 0.8.5 *(2019-04-23)* * Converted many files to Kotlin * [#57](https://github.com/jaredsburrows/gradle-license-plugin/pull/57) Eliminate duplicate licenses * [#76](https://github.com/jaredsburrows/gradle-license-plugin/pull/76) Use double quotes for HTML @@ -60,64 +78,56 @@ for the code contributions! * [#55](https://github.com/jaredsburrows/gradle-license-plugin/pull/55) Running multiple build variant license tasks crashes build * [#48](https://github.com/jaredsburrows/gradle-license-plugin/pull/48) Version is null for some dependencies - Many thanks to - [@iankerr](https://github.com/iankerr) - for the code contributions! - -## Version 0.8.42 (2018-11-21) +Many thanks to +[@iankerr](https://github.com/iankerr) +for the code contributions! +## Version 0.8.42 *(2018-11-21)* * [#44](https://github.com/jaredsburrows/gradle-license-plugin/pull/44) Extra report info * [#46](https://github.com/jaredsburrows/gradle-license-plugin/pull/46) Android tests fail on Windows * [#53](https://github.com/jaredsburrows/gradle-license-plugin/pull/53) Make any links to licenses clickable in preformatted text * Add Apache 2 to the license map, Common for Square libraries - Many thanks to - [@markhoughton](https://github.com/markhoughton), - [@iankerr](https://github.com/iankerr) - for the code contributions! - -## Version 0.8.41 (2018-03-14) -## Version 0.8.3 (2018-03-14) -## Version 0.8.2 (2018-03-14) +Many thanks to +[@markhoughton](https://github.com/markhoughton), +[@iankerr](https://github.com/iankerr) +for the code contributions! +## Version 0.8.41 *(2018-03-14)* +## Version 0.8.3 *(2018-03-14)* +## Version 0.8.2 *(2018-03-14)* * [#24](https://github.com/jaredsburrows/gradle-license-plugin/issues/24) Show complete license text -## Version 0.8.1 (2018-01-24) -## Version 0.8.0 (2018-01-22) - +## Version 0.8.1 *(2018-01-24)* +## Version 0.8.0 *(2018-01-22)* * [#27](https://github.com/jaredsburrows/gradle-license-plugin/pull/27) Recursively scan parent POMs for license * [#28](https://github.com/jaredsburrows/gradle-license-plugin/pull/29) Support multiple licenses; add more attributes to json * [#30](https://github.com/jaredsburrows/gradle-license-plugin/pull/30) Added configuration options - - Many thanks to - [@ChristianCiach](https://github.com/ChristianCiach), - [@MatthewDavidBradshaw](https://github.com/MatthewDavidBradshaw) - for the code contributions! -## Version 0.7.0 (2017-10-21) +Many thanks to +[@ChristianCiach](https://github.com/ChristianCiach), +[@MatthewDavidBradshaw](https://github.com/MatthewDavidBradshaw) +for the code contributions! +## Version 0.7.0 *(2017-10-21)* * [#15](https://github.com/jaredsburrows/gradle-license-plugin/issues/15) Square Libs missing * Add support for 'api' and 'implementation' * Added logging of missing names, licenses and validating urls for POM files -## Version 0.6.0 (2017-06-03) - -## Version 0.5.0 (2017-05-08) +## Version 0.6.0 *(2017-06-03)* +## Version 0.5.0 *(2017-05-08)* * Add groovy doc -## Version 0.4.0 (2017-01-09) - +## Version 0.4.0 *(2017-01-09)* * Add developers name to reports * Remove added repositories through the plugin * Add HTML support -## Version 0.2.0 (2016-12-28) - +## Version 0.2.0 *(2016-12-28)* * Add JSON report support * Add Java projects support * [#6](https://github.com/jaredsburrows/gradle-spoon-plugin/pull/6) Multiple reruns causes appending HTML -## Version 0.1.0 (2016-12-21) - -* Initial release +## Version 0.1.0 *(2016-12-21)* + * Initial release diff --git a/README.md b/README.md index 45626698..855566a4 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Also, for Android projects the license HTML file will be copied to `/sr ```kotlin plugins { - id("com.jaredsburrows.license") version "0.9.0" + id("com.jaredsburrows.license") version "0.9.2" } ``` @@ -39,7 +39,7 @@ buildscript { } dependencies { - classpath 'com.jaredsburrows:gradle-license-plugin:0.9.0' + classpath 'com.jaredsburrows:gradle-license-plugin:0.9.2' } } @@ -56,7 +56,7 @@ Release versions are available in the [Sonatype's release repository](https://re ```kotlin plugins { - id("com.jaredsburrows.license") version "0.9.1-SNAPSHOT" + id("com.jaredsburrows.license") version "0.9.3-SNAPSHOT" } ``` @@ -72,7 +72,7 @@ buildscript { } dependencies { - classpath 'com.jaredsburrows:gradle-license-plugin:0.9.1-SNAPSHOT' + classpath 'com.jaredsburrows:gradle-license-plugin:0.9.3-SNAPSHOT' } } diff --git a/gradle.properties b/gradle.properties index 99939d46..335d531d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ SONATYPE_AUTOMATIC_RELEASE=true RELEASE_SIGNING_ENABLED=true GROUP=com.jaredsburrows -VERSION_NAME=0.9.1-SNAPSHOT +VERSION_NAME=0.9.2 POM_INCEPTION_YEAR=2016 POM_PACKAGING=jar