-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
20edd4b
commit 1908d6f
Showing
67 changed files
with
119 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
plugins { | ||
alias(libs.plugins.kotlin.jvm) | ||
alias(libs.plugins.dokka) | ||
alias(libs.plugins.ktlint) | ||
alias(libs.plugins.maven.publish) | ||
alias(libs.plugins.plugin.publish) | ||
alias(libs.plugins.versions) | ||
id 'java-gradle-plugin' | ||
id 'java-library' | ||
id 'groovy' | ||
} | ||
|
||
task createClasspathManifest() { | ||
def outputDir = new File(buildDir, name) | ||
|
||
inputs.files sourceSets.main.runtimeClasspath | ||
outputs.dir outputDir | ||
|
||
doLast { | ||
outputDir.mkdirs() | ||
// Combine both main and test plugin classpaths | ||
file("$outputDir/plugin-classpath.txt").text = sourceSets.main.runtimeClasspath.join('\n') + | ||
'\n' + sourceSets.test.runtimeClasspath.join('\n') | ||
} | ||
} | ||
|
||
dependencies { | ||
compileOnly gradleApi() | ||
compileOnly libs.android.plugin | ||
|
||
implementation(platform(libs.kotlin.bom)) | ||
implementation libs.kotlin.stdlib | ||
implementation libs.kotlinx.html | ||
implementation libs.gson | ||
implementation libs.maven.model | ||
|
||
testRuntimeOnly files(createClasspathManifest) | ||
testRuntimeOnly libs.android.plugin | ||
|
||
testImplementation localGroovy() | ||
testImplementation gradleTestKit() | ||
testImplementation libs.spock, { exclude module: 'groovy-all' } // Use localGroovy() | ||
testImplementation libs.xmlunit | ||
testImplementation libs.commons | ||
} | ||
|
||
gradlePlugin { | ||
plugins { | ||
licensePlugin { | ||
id = PLUGIN_NAME | ||
implementationClass = PLUGIN_NAME_CLASS | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
POM_ARTIFACT_ID=gradle-license-plugin | ||
POM_NAME=Gradle License Plugin | ||
POM_DESCRIPTION=Gradle plugin that provides a task to generate a HTML license report of your project. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file removed
0
src/test/resources/maven/com/squareup/retrofit2/retrofit/2.3.0/retrofit-2.3.0.jar
Empty file.