From e1278f42de93e26b4c01cf726ef74a890f844559 Mon Sep 17 00:00:00 2001 From: Jumpei Matsuda Date: Mon, 6 Apr 2020 03:30:17 +0900 Subject: [PATCH 1/4] Fixed github action and remove bintray from plugin project --- .github/workflows/release.yml | 8 ++++- buildSrc/src/main/java/shared/Definition.kt | 2 +- example/build.gradle.kts | 2 +- plugin/build.gradle.kts | 35 --------------------- 4 files changed, 9 insertions(+), 38 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b9eb8b1..f24fe58 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,12 @@ jobs: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} - name: Publish plugin - run: ./gradlew publishPlugins + run: ./gradlew publishPlugins -Dgradle.publish.key=$GRADLE_PORTAL_PUBLISH_KEY -Dgradle.publish.secret=$GRADLE_PORTAL_PUBLISH_SECRET + env: + GRADLE_PORTAL_PUBLISH_KEY: ${{ secrets.GRADLE_PORTAL_PUBLISH_KEY }} + GRADLE_PORTAL_PUBLISH_SECRET: ${{ secrets.GRADLE_PORTAL_PUBLISH_SECRET }} - name: Publish schema run: ./gradlew :license-list-schema:bintrayUpload -PdryRun=false + env: + BINTRAY_USER: ${{ secrets.BINTRAY_USER }} + BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }} diff --git a/buildSrc/src/main/java/shared/Definition.kt b/buildSrc/src/main/java/shared/Definition.kt index e66b4b7..b64fa0c 100644 --- a/buildSrc/src/main/java/shared/Definition.kt +++ b/buildSrc/src/main/java/shared/Definition.kt @@ -1,7 +1,7 @@ package shared object Definition { - const val pluginId = "license-list" + const val pluginId = "io.github.jmatsu.license-list" const val group = "io.github.jmatsu" const val pluginName = "license-list-gradle" diff --git a/example/build.gradle.kts b/example/build.gradle.kts index 001c63c..91474b8 100644 --- a/example/build.gradle.kts +++ b/example/build.gradle.kts @@ -7,7 +7,7 @@ buildscript { dependencies { classpath("com.android.tools.build:gradle:3.6.1") classpath(kotlin("gradle-plugin", version = "1.3.50")) // same to the version that kotlin-dsl uses - classpath("io.github.jmatsu:license-list-gradle:+") + classpath("io.github.jmatsu:license-list-gradle:0.1-snapshot") classpath("com.cookpad.android.licensetools:license-tools-plugin:1.7.0") } } diff --git a/plugin/build.gradle.kts b/plugin/build.gradle.kts index 6cbc704..15c8837 100644 --- a/plugin/build.gradle.kts +++ b/plugin/build.gradle.kts @@ -1,12 +1,7 @@ @file:Suppress("RemoveRedundantQualifierName") -import com.jfrog.bintray.gradle.BintrayExtension.PackageConfig -import com.jfrog.bintray.gradle.BintrayExtension.VersionConfig import shared.Definition import shared.Version -import java.time.format.DateTimeFormatter -import java.time.Instant -import java.time.ZoneId plugins { id("org.gradle.java-gradle-plugin") @@ -17,7 +12,6 @@ plugins { // release stuff maven `maven-publish` - id("com.jfrog.bintray") id("com.gradle.plugin-publish") version "0.11.0" } @@ -105,35 +99,6 @@ kotlinter { fileBatchSize = 30 } -bintray { - user = System.getenv("BINTRAY_USER") - key = System.getenv("BINTRAY_API_KEY") - pkg(closureOf { - repo = "maven" - name = Definition.pluginName - userOrg = "jmatsu" - setLicenses("MIT") - websiteUrl = Definition.webUrl - issueTrackerUrl = "${Definition.webUrl}/issues" - vcsUrl = Definition.vcsUrl - // FIXME out-in after opening a repository -// githubRepo = "jmatsu/license-list-plugin" -// githubReleaseNotesFile = "CHANGELOG.md" - version(closureOf { - name = project.version as String - - released = DateTimeFormatter - .ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSZZ") - .withZone(ZoneId.of("UTC")) - .format(Instant.now()) - }) - }) - - dryRun = properties["dryRun"]?.toString()?.toBoolean() ?: true - - setPublications("pluginMaven") -} - java { withJavadocJar() withSourcesJar() From 2d2f25563d4610c222dff870a4cd93bab5b6e5e5 Mon Sep 17 00:00:00 2001 From: Jumpei Matsuda Date: Mon, 6 Apr 2020 03:39:35 +0900 Subject: [PATCH 2/4] Revised visualized files --- README.md | 8 +- example/app/build.gradle.kts | 4 +- .../assets/license-list.html | 200 ++++++++---------- .../assets/license-list.json | 2 +- example/build.gradle.kts | 2 +- .../main/resources/templates/license.html.ftl | 2 +- 6 files changed, 99 insertions(+), 119 deletions(-) diff --git a/README.md b/README.md index eeee7b4..833425f 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ Apply the plugin to "com.android.application" modules. ```kotlin plugins { id("com.android.application") - id("license-list") version ("") + id("io.github.jmatsu.license-list") version ("") } ``` @@ -78,7 +78,7 @@ Other setup is in the following fold. ```groovy plugins { id "com.android.application" - id "license-list" version "" + id "io.github.jmatsu.license-list" version "" } ``` @@ -88,14 +88,14 @@ plugins { ```kotlin // after applying "com.android.application" -apply(plugin = "license-list") +apply(plugin = "io.github.jmatsu.license-list") ``` **Groovy** ```groovy // after applying "com.android.application" -apply id: "license-list" +apply id: "io.github.jmatsu.license-list" ``` diff --git a/example/app/build.gradle.kts b/example/app/build.gradle.kts index 8628622..8ee65c1 100644 --- a/example/app/build.gradle.kts +++ b/example/app/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("com.android.application") kotlin("android") kotlin("kapt") - id("license-list") + id("io.github.jmatsu.license-list") } android { @@ -72,7 +72,7 @@ dependencies { kapt("com.squareup.moshi:moshi-kotlin-codegen:1.9.2") // sampleConfiguration is included by `implementation` so this plugin will collect sampleConfiguration as well without any setup - sampleConfiguration("io.github.jmatsu:license-list-schema:+") + sampleConfiguration("io.github.jmatsu:license-list-schema:0.1") // orphanConfiguration is not included by any other configurations, so you need to add this to targetConfigurations. See licenseList block. orphanConfiguration("com.android.support.test:runner:1.0.2") diff --git a/example/app/src/yellowBlueRelease/assets/license-list.html b/example/app/src/yellowBlueRelease/assets/license-list.html index 0e93651..b03eda9 100644 --- a/example/app/src/yellowBlueRelease/assets/license-list.html +++ b/example/app/src/yellowBlueRelease/assets/license-list.html @@ -52,7 +52,7 @@

androidx.activity:activity

@@ -62,7 +62,7 @@

androidx.annotation:annotation

@@ -72,27 +72,7 @@

androidx.annotation:annotation-experimental

- -
-

Android AppCompat Library v7

- -

androidx.appcompat:appcompat

- -
-
-

Android Resources Library

- -

androidx.appcompat:appcompat-resources

-
@@ -102,7 +82,7 @@

androidx.arch.core:core-common

@@ -112,7 +92,7 @@

androidx.arch.core:core-runtime

@@ -122,7 +102,7 @@

androidx.cardview:cardview

@@ -132,7 +112,7 @@

androidx.collection:collection

@@ -142,7 +122,7 @@

androidx.coordinatorlayout:coordinatorlayout

@@ -152,7 +132,7 @@

androidx.core:core

@@ -162,7 +142,7 @@

androidx.core:core-ktx

@@ -172,7 +152,7 @@

androidx.cursoradapter:cursoradapter

@@ -182,17 +162,17 @@

androidx.customview:customview

databinding-adapters

- +

androidx.databinding:databinding-adapters

@@ -202,7 +182,7 @@

androidx.databinding:databinding-common

@@ -212,7 +192,7 @@

androidx.databinding:databinding-compiler

@@ -222,27 +202,27 @@

androidx.databinding:databinding-compiler-common

databinding-runtime

- +

androidx.databinding:databinding-runtime

viewbinding

- +

androidx.databinding:viewbinding

@@ -252,7 +232,7 @@

androidx.drawerlayout:drawerlayout

@@ -262,7 +242,7 @@

androidx.fragment:fragment

@@ -272,7 +252,7 @@

androidx.interpolator:interpolator

@@ -282,7 +262,7 @@

androidx.lifecycle:lifecycle-common

@@ -292,7 +272,7 @@

androidx.lifecycle:lifecycle-livedata

@@ -302,7 +282,7 @@

androidx.lifecycle:lifecycle-livedata-core

@@ -312,7 +292,7 @@

androidx.lifecycle:lifecycle-runtime

@@ -322,7 +302,7 @@

androidx.lifecycle:lifecycle-viewmodel

@@ -332,7 +312,7 @@

androidx.loader:loader

@@ -342,7 +322,7 @@

androidx.recyclerview:recyclerview

@@ -352,7 +332,7 @@

androidx.savedstate:savedstate

@@ -362,7 +342,7 @@

androidx.transition:transition

@@ -372,7 +352,7 @@

androidx.vectordrawable:vectordrawable

@@ -382,7 +362,7 @@

androidx.vectordrawable:vectordrawable-animated

@@ -392,7 +372,7 @@

androidx.versionedparcelable:versionedparcelable

@@ -402,7 +382,7 @@

androidx.viewpager:viewpager

@@ -412,7 +392,7 @@

androidx.viewpager2:viewpager2

@@ -422,7 +402,7 @@

com.android.databinding:baseLibrary

@@ -432,7 +412,7 @@

com.android.tools:annotations

@@ -442,7 +422,7 @@

com.android.tools.build.jetifier:jetifier-core

@@ -452,68 +432,68 @@

com.google.android.material:material

Auto Common Libraries

- +

com.google.auto:auto-common

FindBugs-jsr305

- +

com.google.code.findbugs:jsr305

Gson

- +

com.google.code.gson:gson

error-prone annotations

- +

com.google.errorprone:error_prone_annotations

Guava InternalFutureFailureAccess and InternalFutures

- +

com.google.guava:failureaccess

Guava: Google Core Libraries for Java

- +

com.google.guava:guava

Guava ListenableFuture only

- +

com.google.guava:listenablefuture

J2ObjC Annotations

- +

com.google.j2objc:j2objc-annotations

juniversalchardet

- +

com.googlecode.juniversalchardet:juniversalchardet

  • @@ -523,11 +503,11 @@

JavaPoet

- +

com.squareup:javapoet

@@ -537,23 +517,23 @@

com.squareup:kotlinpoet

Moshi

- +

com.squareup.moshi:moshi

moshi-kotlin-codegen

- +

com.squareup.moshi:moshi-kotlin-codegen

Okio

- +

com.squareup.okio:okio

@@ -562,7 +542,7 @@

com.xwray:groupie

@@ -572,7 +552,7 @@

com.xwray:groupie-databinding

@@ -588,12 +568,12 @@

license-list-schema

- +

io.github.jmatsu:license-list-schema

ANTLR 4 Tool

- +

org.antlr:antlr4

@@ -602,13 +582,13 @@

org.checkerframework:checker-qual

Animal Sniffer Annotations

- +

org.codehaus.mojo:animal-sniffer-annotations

@@ -617,7 +597,7 @@

org.jetbrains:annotations

@@ -627,7 +607,7 @@

org.jetbrains.kotlin:kotlin-reflect

@@ -637,7 +617,7 @@

org.jetbrains.kotlin:kotlin-stdlib

@@ -647,7 +627,7 @@

org.jetbrains.kotlin:kotlin-stdlib-common

@@ -657,7 +637,7 @@

org.jetbrains.kotlin:kotlin-stdlib-jdk7

@@ -667,7 +647,7 @@

org.jetbrains.kotlin:kotlin-stdlib-jdk8

@@ -683,7 +663,7 @@

Hamcrest Core

- +

org.hamcrest:hamcrest-core

@@ -702,63 +682,63 @@

com.android.support.test:monitor

Android Testing Support Library

-

com.android.support.test:runner

+

com.android.support.test.espresso:espresso-core

Android Testing Support Library

-

com.android.support.test.espresso:espresso-core

+

com.android.support.test.espresso:espresso-idling-resource

-

Android Testing Support Library

- -

com.android.support.test.espresso:espresso-idling-resource

+

FindBugs-jsr305

+ +

com.google.code.findbugs:jsr305

JavaWriter

- +

com.squareup:javawriter

javax.inject

- +

javax.inject:javax.inject

kXML 2 is a small XML pull parser based on the common XML pull API

- +

net.sf.kxml:kxml2

  • @@ -771,12 +751,12 @@

Hamcrest Integration

- +

org.hamcrest:hamcrest-integration

Hamcrest library

- +

org.hamcrest:hamcrest-library

diff --git a/example/app/src/yellowBlueRelease/assets/license-list.json b/example/app/src/yellowBlueRelease/assets/license-list.json index 68959b7..5d4e7e8 100644 --- a/example/app/src/yellowBlueRelease/assets/license-list.json +++ b/example/app/src/yellowBlueRelease/assets/license-list.json @@ -1 +1 @@ -[{"key":"androidx.activity:activity","displayName":"Activity","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.annotation:annotation","displayName":"Android Support Library Annotations","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.annotation:annotation-experimental","displayName":"Experimental annotation","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.appcompat:appcompat","displayName":"Android AppCompat Library v7","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.appcompat:appcompat-resources","displayName":"Android Resources Library","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.arch.core:core-common","displayName":"Android Arch-Common","url":"https://developer.android.com/topic/libraries/architecture/index.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.arch.core:core-runtime","displayName":"Android Arch-Runtime","url":"https://developer.android.com/topic/libraries/architecture/index.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.cardview:cardview","displayName":"Android Support CardView v7","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.collection:collection","displayName":"Android Support Library collections","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.coordinatorlayout:coordinatorlayout","displayName":"Android Support Library Coordinator Layout","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.core:core","displayName":"Android Support Library compat","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.core:core-ktx","displayName":"Core Kotlin Extensions","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.cursoradapter:cursoradapter","displayName":"Android Support Library Cursor Adapter","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.customview:customview","displayName":"Android Support Library Custom View","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.databinding:databinding-adapters","displayName":"databinding-adapters","url":null,"copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.databinding:databinding-common","displayName":"Data Binding Base Library","url":"https://developer.android.com/studio","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.databinding:databinding-compiler","displayName":"Data Binding Annotation Processor","url":"https://developer.android.com/studio","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.databinding:databinding-compiler-common","displayName":"Data Binding Compiler Common","url":"https://developer.android.com/studio","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.databinding:databinding-runtime","displayName":"databinding-runtime","url":null,"copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.databinding:viewbinding","displayName":"viewbinding","url":null,"copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.drawerlayout:drawerlayout","displayName":"Android Support Library Drawer Layout","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.fragment:fragment","displayName":"Android Support Library fragment","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.interpolator:interpolator","displayName":"Android Support Library Interpolators","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.lifecycle:lifecycle-common","displayName":"Android Lifecycle-Common","url":"https://developer.android.com/topic/libraries/architecture/index.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.lifecycle:lifecycle-livedata","displayName":"Android Lifecycle LiveData","url":"https://developer.android.com/topic/libraries/architecture/index.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.lifecycle:lifecycle-livedata-core","displayName":"Android Lifecycle LiveData Core","url":"https://developer.android.com/topic/libraries/architecture/index.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.lifecycle:lifecycle-runtime","displayName":"Android Lifecycle Runtime","url":"https://developer.android.com/topic/libraries/architecture/index.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.lifecycle:lifecycle-viewmodel","displayName":"Android Lifecycle ViewModel","url":"https://developer.android.com/topic/libraries/architecture/index.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.loader:loader","displayName":"Android Support Library loader","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.recyclerview:recyclerview","displayName":"Android Support RecyclerView v7","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.savedstate:savedstate","displayName":"Activity","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.transition:transition","displayName":"Android Transition Support Library","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.vectordrawable:vectordrawable","displayName":"Android Support VectorDrawable","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.vectordrawable:vectordrawable-animated","displayName":"Android Support AnimatedVectorDrawable","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.versionedparcelable:versionedparcelable","displayName":"VersionedParcelable","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.viewpager:viewpager","displayName":"Android Support Library View Pager","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"androidx.viewpager2:viewpager2","displayName":"AndroidX Widget ViewPager2","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"com.android.databinding:baseLibrary","displayName":"Data Binding Base Library","url":"https://developer.android.com/studio","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"com.android.tools:annotations","displayName":"Android Tools Annotations library","url":"https://developer.android.com/studio","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"com.android.tools.build.jetifier:jetifier-core","displayName":"Android Jetifier Core","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"com.google.android.material:material","displayName":"Material Components for Android","url":"https://github.com/material-components/material-components-android","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"com.google.auto:auto-common","displayName":"Auto Common Libraries","url":"http://github.com/google/auto","copyrightHolders":[],"licenses":[]},{"key":"com.google.code.findbugs:jsr305","displayName":"FindBugs-jsr305","url":"http://findbugs.sourceforge.net/","copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"com.google.code.gson:gson","displayName":"Gson","url":null,"copyrightHolders":[],"licenses":[]},{"key":"com.google.errorprone:error_prone_annotations","displayName":"error-prone annotations","url":null,"copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"com.google.guava:failureaccess","displayName":"Guava InternalFutureFailureAccess and InternalFutures","url":null,"copyrightHolders":[],"licenses":[]},{"key":"com.google.guava:guava","displayName":"Guava: Google Core Libraries for Java","url":null,"copyrightHolders":[],"licenses":[]},{"key":"com.google.guava:listenablefuture","displayName":"Guava ListenableFuture only","url":null,"copyrightHolders":[],"licenses":[]},{"key":"com.google.j2objc:j2objc-annotations","displayName":"J2ObjC Annotations","url":"https://github.com/google/j2objc/","copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"com.googlecode.juniversalchardet:juniversalchardet","displayName":"juniversalchardet","url":"http://juniversalchardet.googlecode.com/","copyrightHolders":[],"licenses":[{"key":"Mozilla Public License 1.1 (MPL 1.1)@39","name":"Mozilla Public License 1.1 (MPL 1.1)","url":"http://www.mozilla.org/MPL/MPL-1.1.html"}]},{"key":"com.squareup:javapoet","displayName":"JavaPoet","url":"http://github.com/square/javapoet/","copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"com.squareup:kotlinpoet","displayName":"KotlinPoet","url":"https://github.com/square/kotlinpoet","copyrightHolders":["Square, Inc."],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"com.squareup.moshi:moshi","displayName":"Moshi","url":null,"copyrightHolders":[],"licenses":[]},{"key":"com.squareup.moshi:moshi-kotlin-codegen","displayName":"moshi-kotlin-codegen","url":null,"copyrightHolders":[],"licenses":[]},{"key":"com.squareup.okio:okio","displayName":"Okio","url":null,"copyrightHolders":[],"licenses":[]},{"key":"com.xwray:groupie","displayName":"Groupie","url":"https://github.com/xwray/groupie","copyrightHolders":["Lisa Wray"],"licenses":[{"key":"mit","name":"MIT License","url":"https://api.github.com/licenses/mit"}]},{"key":"com.xwray:groupie-databinding","displayName":"Groupie","url":"https://github.com/xwray/groupie","copyrightHolders":["Lisa Wray"],"licenses":[{"key":"mit","name":"MIT License","url":"https://api.github.com/licenses/mit"}]},{"key":"commons-codec:commons-codec","displayName":"Apache Commons Codec","url":"http://commons.apache.org/proper/commons-codec/","copyrightHolders":["Henri Yandell","Tim OBrien","Scott Sanders","Rodney Waldhoff","Daniel Rall","Jon S. Stevens","Gary Gregory","David Graham","Julius Davies","Thomas Neidhart"],"licenses":[]},{"key":"commons-io:commons-io","displayName":"Commons IO","url":"http://commons.apache.org/io/","copyrightHolders":["Scott Sanders","dIon Gillard","Nicola Ken Barozzi","Henri Yandell","Stephen Colebourne","Jeremias Maerki","Matthew Hawthorne","Martin Cooper","Rob Oxspring","Jochen Wiedmann","Niall Pemberton","Jukka Zitting","Gary Gregory"],"licenses":[]},{"key":"io.github.jmatsu:license-list-schema","displayName":"license-list-schema","url":null,"copyrightHolders":[],"licenses":[]},{"key":"org.antlr:antlr4","displayName":"ANTLR 4 Tool","url":null,"copyrightHolders":[],"licenses":[]},{"key":"org.checkerframework:checker-qual","displayName":"Checker Qual","url":"https://checkerframework.org","copyrightHolders":["Michael Ernst","Werner M. Dietl","Suzanne Millstein"],"licenses":[{"key":"mit","name":"MIT License","url":"https://api.github.com/licenses/mit"}]},{"key":"org.codehaus.mojo:animal-sniffer-annotations","displayName":"Animal Sniffer Annotations","url":null,"copyrightHolders":[],"licenses":[]},{"key":"org.jetbrains:annotations","displayName":"IntelliJ IDEA Annotations","url":"http://www.jetbrains.org","copyrightHolders":["JetBrains Team"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"org.jetbrains.kotlin:kotlin-reflect","displayName":"org.jetbrains.kotlin:kotlin-reflect","url":"https://kotlinlang.org/","copyrightHolders":["Kotlin Team"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"org.jetbrains.kotlin:kotlin-stdlib","displayName":"org.jetbrains.kotlin:kotlin-stdlib","url":"https://kotlinlang.org/","copyrightHolders":["Kotlin Team"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"org.jetbrains.kotlin:kotlin-stdlib-common","displayName":"org.jetbrains.kotlin:kotlin-stdlib-common","url":"https://kotlinlang.org/","copyrightHolders":["Kotlin Team"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"org.jetbrains.kotlin:kotlin-stdlib-jdk7","displayName":"org.jetbrains.kotlin:kotlin-stdlib-jdk7","url":"https://kotlinlang.org/","copyrightHolders":["Kotlin Team"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"org.jetbrains.kotlin:kotlin-stdlib-jdk8","displayName":"org.jetbrains.kotlin:kotlin-stdlib-jdk8","url":"https://kotlinlang.org/","copyrightHolders":["Kotlin Team"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"junit:junit","displayName":"JUnit","url":"http://junit.org","copyrightHolders":["David Saff","Kevin Cooney","Stefan Birkner","Marc Philipp"],"licenses":[{"key":"epl-1.0","name":"Eclipse Public License 1.0","url":"https://opensource.org/licenses/EPL-1.0"}]},{"key":"org.hamcrest:hamcrest-core","displayName":"Hamcrest Core","url":null,"copyrightHolders":[],"licenses":[]},{"key":"com.android.support:support-annotations","displayName":"Android Support Library Annotations","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"com.android.support.test:monitor","displayName":"Android Testing Support Library","url":"https://developer.android.com/testing","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"com.android.support.test:runner","displayName":"Android Testing Support Library","url":"https://developer.android.com/testing","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"com.android.support.test.espresso:espresso-core","displayName":"Android Testing Support Library","url":"https://developer.android.com/testing","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"com.android.support.test.espresso:espresso-idling-resource","displayName":"Android Testing Support Library","url":"https://developer.android.com/testing","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"com.squareup:javawriter","displayName":"JavaWriter","url":"http://github.com/square/javawriter/","copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"javax.inject:javax.inject","displayName":"javax.inject","url":"http://code.google.com/p/atinject/","copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://api.github.com/licenses/apache-2.0"}]},{"key":"net.sf.kxml:kxml2","displayName":"kXML 2 is a small XML pull parser based on the common XML pull API","url":"http://kxml.sourceforge.net/","copyrightHolders":[],"licenses":[{"key":"BSD style@73","name":"BSD style","url":"http://kxml.cvs.sourceforge.net/viewvc/kxml/kxml2/license.txt?view=markup"},{"key":"Public Domain@48","name":"Public Domain","url":"http://creativecommons.org/licenses/publicdomain"}]},{"key":"org.hamcrest:hamcrest-integration","displayName":"Hamcrest Integration","url":null,"copyrightHolders":[],"licenses":[]},{"key":"org.hamcrest:hamcrest-library","displayName":"Hamcrest library","url":null,"copyrightHolders":[],"licenses":[]}] \ No newline at end of file +[{"key":"androidx.activity:activity","displayName":"Activity","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.annotation:annotation","displayName":"Android Support Library Annotations","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.annotation:annotation-experimental","displayName":"Experimental annotation","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.arch.core:core-common","displayName":"Android Arch-Common","url":"https://developer.android.com/topic/libraries/architecture/index.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.arch.core:core-runtime","displayName":"Android Arch-Runtime","url":"https://developer.android.com/topic/libraries/architecture/index.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.cardview:cardview","displayName":"Android Support CardView v7","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.collection:collection","displayName":"Android Support Library collections","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.coordinatorlayout:coordinatorlayout","displayName":"Android Support Library Coordinator Layout","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.core:core","displayName":"Android Support Library compat","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.core:core-ktx","displayName":"Core Kotlin Extensions","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.cursoradapter:cursoradapter","displayName":"Android Support Library Cursor Adapter","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.customview:customview","displayName":"Android Support Library Custom View","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.databinding:databinding-adapters","displayName":"databinding-adapters","url":null,"copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.databinding:databinding-common","displayName":"Data Binding Base Library","url":"https://developer.android.com/studio","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.databinding:databinding-compiler","displayName":"Data Binding Annotation Processor","url":"https://developer.android.com/studio","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.databinding:databinding-compiler-common","displayName":"Data Binding Compiler Common","url":"https://developer.android.com/studio","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.databinding:databinding-runtime","displayName":"databinding-runtime","url":null,"copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.databinding:viewbinding","displayName":"viewbinding","url":null,"copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.drawerlayout:drawerlayout","displayName":"Android Support Library Drawer Layout","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.fragment:fragment","displayName":"Android Support Library fragment","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.interpolator:interpolator","displayName":"Android Support Library Interpolators","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.lifecycle:lifecycle-common","displayName":"Android Lifecycle-Common","url":"https://developer.android.com/topic/libraries/architecture/index.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.lifecycle:lifecycle-livedata","displayName":"Android Lifecycle LiveData","url":"https://developer.android.com/topic/libraries/architecture/index.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.lifecycle:lifecycle-livedata-core","displayName":"Android Lifecycle LiveData Core","url":"https://developer.android.com/topic/libraries/architecture/index.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.lifecycle:lifecycle-runtime","displayName":"Android Lifecycle Runtime","url":"https://developer.android.com/topic/libraries/architecture/index.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.lifecycle:lifecycle-viewmodel","displayName":"Android Lifecycle ViewModel","url":"https://developer.android.com/topic/libraries/architecture/index.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.loader:loader","displayName":"Android Support Library loader","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.recyclerview:recyclerview","displayName":"Android Support RecyclerView v7","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.savedstate:savedstate","displayName":"Activity","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.transition:transition","displayName":"Android Transition Support Library","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.vectordrawable:vectordrawable","displayName":"Android Support VectorDrawable","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.vectordrawable:vectordrawable-animated","displayName":"Android Support AnimatedVectorDrawable","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.versionedparcelable:versionedparcelable","displayName":"VersionedParcelable","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.viewpager:viewpager","displayName":"Android Support Library View Pager","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"androidx.viewpager2:viewpager2","displayName":"AndroidX Widget ViewPager2","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"com.android.databinding:baseLibrary","displayName":"Data Binding Base Library","url":"https://developer.android.com/studio","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"com.android.tools:annotations","displayName":"Android Tools Annotations library","url":"https://developer.android.com/studio","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"com.android.tools.build.jetifier:jetifier-core","displayName":"Android Jetifier Core","url":"https://developer.android.com/jetpack/androidx","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"com.google.android.material:material","displayName":"Material Components for Android","url":"https://github.com/material-components/material-components-android","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"com.google.auto:auto-common","displayName":"Auto Common Libraries","url":"http://github.com/google/auto","copyrightHolders":[],"licenses":[],"keep":true},{"key":"com.google.code.findbugs:jsr305","displayName":"FindBugs-jsr305","url":"http://findbugs.sourceforge.net/","copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"com.google.code.gson:gson","displayName":"Gson","url":null,"copyrightHolders":[],"licenses":[],"keep":true},{"key":"com.google.errorprone:error_prone_annotations","displayName":"error-prone annotations","url":null,"copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"com.google.guava:failureaccess","displayName":"Guava InternalFutureFailureAccess and InternalFutures","url":null,"copyrightHolders":[],"licenses":[],"keep":true},{"key":"com.google.guava:guava","displayName":"Guava: Google Core Libraries for Java","url":null,"copyrightHolders":[],"licenses":[],"keep":true},{"key":"com.google.guava:listenablefuture","displayName":"Guava ListenableFuture only","url":null,"copyrightHolders":[],"licenses":[],"keep":true},{"key":"com.google.j2objc:j2objc-annotations","displayName":"J2ObjC Annotations","url":"https://github.com/google/j2objc/","copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"com.googlecode.juniversalchardet:juniversalchardet","displayName":"juniversalchardet","url":"http://juniversalchardet.googlecode.com/","copyrightHolders":[],"licenses":[{"key":"Mozilla Public License 1.1 (MPL 1.1)@39","name":"Mozilla Public License 1.1 (MPL 1.1)","url":"http://www.mozilla.org/MPL/MPL-1.1.html"}],"keep":true},{"key":"com.squareup:javapoet","displayName":"JavaPoet","url":"http://github.com/square/javapoet/","copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"com.squareup:kotlinpoet","displayName":"KotlinPoet","url":"https://github.com/square/kotlinpoet","copyrightHolders":["Square, Inc."],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"com.squareup.moshi:moshi","displayName":"Moshi","url":null,"copyrightHolders":[],"licenses":[],"keep":true},{"key":"com.squareup.moshi:moshi-kotlin-codegen","displayName":"moshi-kotlin-codegen","url":null,"copyrightHolders":[],"licenses":[],"keep":true},{"key":"com.squareup.okio:okio","displayName":"Okio","url":null,"copyrightHolders":[],"licenses":[],"keep":true},{"key":"com.xwray:groupie","displayName":"Groupie","url":"https://github.com/xwray/groupie","copyrightHolders":["Lisa Wray"],"licenses":[{"key":"mit","name":"MIT License","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/mit.txt"}],"keep":true},{"key":"com.xwray:groupie-databinding","displayName":"Groupie","url":"https://github.com/xwray/groupie","copyrightHolders":["Lisa Wray"],"licenses":[{"key":"mit","name":"MIT License","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/mit.txt"}],"keep":true},{"key":"commons-codec:commons-codec","displayName":"Apache Commons Codec","url":"http://commons.apache.org/proper/commons-codec/","copyrightHolders":["Henri Yandell","Tim OBrien","Scott Sanders","Rodney Waldhoff","Daniel Rall","Jon S. Stevens","Gary Gregory","David Graham","Julius Davies","Thomas Neidhart"],"licenses":[],"keep":true},{"key":"commons-io:commons-io","displayName":"Commons IO","url":"http://commons.apache.org/io/","copyrightHolders":["Scott Sanders","dIon Gillard","Nicola Ken Barozzi","Henri Yandell","Stephen Colebourne","Jeremias Maerki","Matthew Hawthorne","Martin Cooper","Rob Oxspring","Jochen Wiedmann","Niall Pemberton","Jukka Zitting","Gary Gregory"],"licenses":[],"keep":true},{"key":"io.github.jmatsu:license-list-schema","displayName":"license-list-schema","url":null,"copyrightHolders":[],"licenses":[],"keep":true},{"key":"org.antlr:antlr4","displayName":"ANTLR 4 Tool","url":null,"copyrightHolders":[],"licenses":[],"keep":true},{"key":"org.checkerframework:checker-qual","displayName":"Checker Qual","url":"https://checkerframework.org","copyrightHolders":["Michael Ernst","Werner M. Dietl","Suzanne Millstein"],"licenses":[{"key":"mit","name":"MIT License","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/mit.txt"}],"keep":true},{"key":"org.codehaus.mojo:animal-sniffer-annotations","displayName":"Animal Sniffer Annotations","url":null,"copyrightHolders":[],"licenses":[],"keep":true},{"key":"org.jetbrains:annotations","displayName":"IntelliJ IDEA Annotations","url":"http://www.jetbrains.org","copyrightHolders":["JetBrains Team"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"org.jetbrains.kotlin:kotlin-reflect","displayName":"org.jetbrains.kotlin:kotlin-reflect","url":"https://kotlinlang.org/","copyrightHolders":["Kotlin Team"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"org.jetbrains.kotlin:kotlin-stdlib","displayName":"org.jetbrains.kotlin:kotlin-stdlib","url":"https://kotlinlang.org/","copyrightHolders":["Kotlin Team"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"org.jetbrains.kotlin:kotlin-stdlib-common","displayName":"org.jetbrains.kotlin:kotlin-stdlib-common","url":"https://kotlinlang.org/","copyrightHolders":["Kotlin Team"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"org.jetbrains.kotlin:kotlin-stdlib-jdk7","displayName":"org.jetbrains.kotlin:kotlin-stdlib-jdk7","url":"https://kotlinlang.org/","copyrightHolders":["Kotlin Team"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"org.jetbrains.kotlin:kotlin-stdlib-jdk8","displayName":"org.jetbrains.kotlin:kotlin-stdlib-jdk8","url":"https://kotlinlang.org/","copyrightHolders":["Kotlin Team"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"junit:junit","displayName":"JUnit","url":"http://junit.org","copyrightHolders":["David Saff","Kevin Cooney","Stefan Birkner","Marc Philipp"],"licenses":[{"key":"epl-1.0","name":"Eclipse Public License 1.0","url":"https://opensource.org/licenses/EPL-1.0"}],"keep":true},{"key":"org.hamcrest:hamcrest-core","displayName":"Hamcrest Core","url":null,"copyrightHolders":[],"licenses":[],"keep":true},{"key":"com.android.support:support-annotations","displayName":"Android Support Library Annotations","url":"http://developer.android.com/tools/extras/support-library.html","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"com.android.support.test:monitor","displayName":"Android Testing Support Library","url":"https://developer.android.com/testing","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"com.android.support.test.espresso:espresso-core","displayName":"Android Testing Support Library","url":"https://developer.android.com/testing","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"com.android.support.test.espresso:espresso-idling-resource","displayName":"Android Testing Support Library","url":"https://developer.android.com/testing","copyrightHolders":["The Android Open Source Project"],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"com.google.code.findbugs:jsr305","displayName":"FindBugs-jsr305","url":"http://findbugs.sourceforge.net/","copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"com.squareup:javawriter","displayName":"JavaWriter","url":"http://github.com/square/javawriter/","copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"javax.inject:javax.inject","displayName":"javax.inject","url":"http://code.google.com/p/atinject/","copyrightHolders":[],"licenses":[{"key":"apache-2.0","name":"Apache License 2.0","url":"https://github.com/jmatsu/license-list-plugin/blob/master/license-files/apache-2.0.txt"}],"keep":true},{"key":"net.sf.kxml:kxml2","displayName":"kXML 2 is a small XML pull parser based on the common XML pull API","url":"http://kxml.sourceforge.net/","copyrightHolders":[],"licenses":[{"key":"BSD style@73","name":"BSD style","url":"http://kxml.cvs.sourceforge.net/viewvc/kxml/kxml2/license.txt?view=markup"},{"key":"Public Domain@48","name":"Public Domain","url":"http://creativecommons.org/licenses/publicdomain"}],"keep":true},{"key":"org.hamcrest:hamcrest-integration","displayName":"Hamcrest Integration","url":null,"copyrightHolders":[],"licenses":[],"keep":true},{"key":"org.hamcrest:hamcrest-library","displayName":"Hamcrest library","url":null,"copyrightHolders":[],"licenses":[],"keep":true}] \ No newline at end of file diff --git a/example/build.gradle.kts b/example/build.gradle.kts index 91474b8..c83458c 100644 --- a/example/build.gradle.kts +++ b/example/build.gradle.kts @@ -7,7 +7,7 @@ buildscript { dependencies { classpath("com.android.tools.build:gradle:3.6.1") classpath(kotlin("gradle-plugin", version = "1.3.50")) // same to the version that kotlin-dsl uses - classpath("io.github.jmatsu:license-list-gradle:0.1-snapshot") + classpath("io.github.jmatsu:license-list-gradle:0.1") classpath("com.cookpad.android.licensetools:license-tools-plugin:1.7.0") } } diff --git a/plugin/src/main/resources/templates/license.html.ftl b/plugin/src/main/resources/templates/license.html.ftl index 3cb39a7..dcad76e 100644 --- a/plugin/src/main/resources/templates/license.html.ftl +++ b/plugin/src/main/resources/templates/license.html.ftl @@ -51,7 +51,7 @@ <#list artifacts as artifact>

${artifact.displayName}

- + <#if artifact.copyrightHolders?has_content>

<#if artifact.url??>${artifact.key}<#else>${artifact.key}

<#if artifact.licenses?size != 0 >
    From 76d21b1af7648d8432010c0d900e7a3bd8f52615 Mon Sep 17 00:00:00 2001 From: Jumpei Matsuda Date: Mon, 6 Apr 2020 03:43:45 +0900 Subject: [PATCH 3/4] mentioned about json rendering --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 833425f..40438f3 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ License List Plugin is a Gradle plugin to manage artifacts' licenses that your A 2. [Add other configurations like WearApp](#additional-configurations-like-wearapp) 3. [Custom variant-aware configurations](#custom-variant-aware-configurations) 4. [Html template customization](#html-customization) + 5. [Render Json output](#render-json) 6. [Known limitation](#limitations) 7. [LICENSE](#license) @@ -280,6 +281,10 @@ visualization { Please check the original `ftl` file for variables that you can use. +#### Render Json + +The schema of json objects are defined in `schema` module published to jcetner. You can chose any serialization method, custom attribute transformation, and so on. + ## Limitations - Only for Android application projects. From 3dbce0347347f9d5bc20ec11ed3dfc4736c9f0d5 Mon Sep 17 00:00:00 2001 From: Jumpei Matsuda Date: Mon, 6 Apr 2020 03:56:29 +0900 Subject: [PATCH 4/4] Fixed tests that failed due to id changes --- .github/workflows/release.yml | 1 + README.md | 26 +++++++++++++++---- .../jmatsu/license/LicenseListPluginTest.kt | 2 +- .../license/tasks/InitLicenseListTaskTest.kt | 2 +- .../license/tasks/MergeLicenseListTaskTest.kt | 2 +- .../tasks/ValidateLicenseListTaskTest.kt | 2 +- .../tasks/VisualizeLicenseListTaskTest.kt | 2 +- .../license/tasks/internal/BaseTaskTest.kt | 2 +- .../internal/ReadWriteLicenseTaskArgsTest.kt | 2 +- 9 files changed, 29 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f24fe58..daf0dae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - run: "[[ refs/tags/$(cat VERSION) == $GITHUB_REF ]]" - uses: actions/setup-java@v1 with: java-version: '8.0.x' diff --git a/README.md b/README.md index 40438f3..e1135e9 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,11 @@ License List Plugin is a Gradle plugin to manage artifacts' licenses that your A 4. [Extension](#extension) 5. [Tips](#tips) 1. [license-tools-plugin migration](#for-license-tools-plugin-users) - 2. [Add other configurations like WearApp](#additional-configurations-like-wearapp) - 3. [Custom variant-aware configurations](#custom-variant-aware-configurations) - 4. [Html template customization](#html-customization) - 5. [Render Json output](#render-json) + 2. [Exclude specific groups/artifacts](#exclude-specific-groupsartifacts) + 3. [Add other configurations like WearApp](#additional-configurations-like-wearapp) + 4. [Custom variant-aware configurations](#custom-variant-aware-configurations) + 5. [Html template customization](#html-customization) + 6. [Render Json output](#render-json) 6. [Known limitation](#limitations) 7. [LICENSE](#license) @@ -217,7 +218,7 @@ Those who are from license-tools-plugin can migrate their yml file to the format ```kotlin plugins { id("com.cookpad.android.licensetools") // A migration task is available only when the plugin is applied - id("license-list") + id("io.github.jmatsu.license-list") } licenseTools { @@ -246,6 +247,21 @@ Please move them to the directory where you would like to use for the management - Only v1.7.0 is tested. Please feel free to open issues if you have any problems. - `licenseTools.ignoreProjects` is not supported. Because I couldn't imagine the usecase that we really want to ignore *projects*. The group/artifact ignore feature is enough. +#### Exclude specific groups/artifacts + +You can exclude specific groups and/or artifacts through `.artifactignore` file. `.artifactignore` file is a list of Regexp that matches with `:`. + +Let's say you want to exclude `com.example` group and `io.github.jmatsu:example` artifact. Your ignore file should be like the following. + +``` +com.example:.* +io.github.jmatsu:example +``` + +Please note that this plugin will automatically add `^` and `$` to each lines, so you must not add it in this ignore file. + +For the more details, see [example/app/.artifactignore](example/app/.artifactignore). + #### Additional configurations like WearApp For example `wearApp` is an independent from `implementation` etc. This plugin allows you to add such independent configurations to discovery targets. (No action is required if the variant's configurations extend the custom configurations.) diff --git a/plugin/src/test/kotlin/io/github/jmatsu/license/LicenseListPluginTest.kt b/plugin/src/test/kotlin/io/github/jmatsu/license/LicenseListPluginTest.kt index b9c720a..9d96556 100644 --- a/plugin/src/test/kotlin/io/github/jmatsu/license/LicenseListPluginTest.kt +++ b/plugin/src/test/kotlin/io/github/jmatsu/license/LicenseListPluginTest.kt @@ -24,7 +24,7 @@ class LicenseListPluginTest { fun `plugin create an extension`() { val project = ProjectBuilder.builder().build() project.plugins.apply("com.android.application") - project.plugins.apply("license-list") + project.plugins.apply("io.github.jmatsu.license-list") val extension = project.extensions.findByType(LicenseListExtension::class) diff --git a/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/InitLicenseListTaskTest.kt b/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/InitLicenseListTaskTest.kt index 53e8879..818e19d 100644 --- a/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/InitLicenseListTaskTest.kt +++ b/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/InitLicenseListTaskTest.kt @@ -32,7 +32,7 @@ class InitLicenseListTaskTest { @BeforeTest fun setup() { project = ProjectBuilder.builder().build() - project.plugins.apply("license-list") + project.plugins.apply("io.github.jmatsu.license-list") extension = requireNotNull(project.extensions.findByType(LicenseListExtension::class)) } diff --git a/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/MergeLicenseListTaskTest.kt b/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/MergeLicenseListTaskTest.kt index 66549f8..1ac2044 100644 --- a/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/MergeLicenseListTaskTest.kt +++ b/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/MergeLicenseListTaskTest.kt @@ -34,7 +34,7 @@ class MergeLicenseListTaskTest { @BeforeTest fun before() { project = ProjectBuilder.builder().build() - project.plugins.apply("license-list") + project.plugins.apply("io.github.jmatsu.license-list") extension = requireNotNull(project.extensions.findByType(LicenseListExtension::class)) } diff --git a/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/ValidateLicenseListTaskTest.kt b/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/ValidateLicenseListTaskTest.kt index ea9f17a..5ebc137 100644 --- a/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/ValidateLicenseListTaskTest.kt +++ b/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/ValidateLicenseListTaskTest.kt @@ -30,7 +30,7 @@ class ValidateLicenseListTaskTest { @BeforeTest fun before() { project = ProjectBuilder.builder().build() - project.plugins.apply("license-list") + project.plugins.apply("io.github.jmatsu.license-list") extension = requireNotNull(project.extensions.findByType(LicenseListExtension::class)) } diff --git a/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/VisualizeLicenseListTaskTest.kt b/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/VisualizeLicenseListTaskTest.kt index 65a0f38..7a89286 100644 --- a/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/VisualizeLicenseListTaskTest.kt +++ b/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/VisualizeLicenseListTaskTest.kt @@ -35,7 +35,7 @@ class VisualizeLicenseListTaskTest { @BeforeTest fun before() { project = ProjectBuilder.builder().build() - project.plugins.apply("license-list") + project.plugins.apply("io.github.jmatsu.license-list") extension = requireNotNull(project.extensions.findByType(LicenseListExtension::class)) assetDirs = mutableListOf() variant = mockk { diff --git a/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/internal/BaseTaskTest.kt b/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/internal/BaseTaskTest.kt index fe58591..af3c9a6 100644 --- a/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/internal/BaseTaskTest.kt +++ b/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/internal/BaseTaskTest.kt @@ -16,7 +16,7 @@ class BaseTaskTest { @BeforeTest fun before() { project = ProjectBuilder.builder().build() - project.plugins.apply("license-list") + project.plugins.apply("io.github.jmatsu.license-list") extension = requireNotNull(project.extensions.findByType(LicenseListExtension::class)) } diff --git a/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/internal/ReadWriteLicenseTaskArgsTest.kt b/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/internal/ReadWriteLicenseTaskArgsTest.kt index 1ba917b..8ba3eea 100644 --- a/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/internal/ReadWriteLicenseTaskArgsTest.kt +++ b/plugin/src/test/kotlin/io/github/jmatsu/license/tasks/internal/ReadWriteLicenseTaskArgsTest.kt @@ -37,7 +37,7 @@ class ReadWriteLicenseTaskArgsTest { @BeforeTest fun before() { project = ProjectBuilder.builder().build() as ProjectInternal - project.plugins.apply("license-list") + project.plugins.apply("io.github.jmatsu.license-list") extension = requireNotNull(project.extensions.findByType(LicenseListExtension::class)) variant = mockk { every { name } returns "featureRelease"