bootstrap: Skip injection-annotations
This commit is contained in:
@@ -128,6 +128,10 @@ open class BootstrapTask @Inject constructor(@Input val type: String) : DefaultT
|
||||
val artifactsSet = HashSet<String>()
|
||||
|
||||
project.configurations["runtimeClasspath"].resolvedConfiguration.resolvedArtifacts.forEach {
|
||||
if (it.file.name.contains("injection-annotations")) {
|
||||
return@forEach
|
||||
}
|
||||
|
||||
val module = it.moduleVersion.id.toString()
|
||||
|
||||
val splat = module.split(":")
|
||||
@@ -206,7 +210,7 @@ open class BootstrapTask @Inject constructor(@Input val type: String) : DefaultT
|
||||
if (!artifactsSet.contains(filePath)) {
|
||||
artifactsSet.add(filePath)
|
||||
|
||||
val sha = if(it.file.name.contains("injection-annotations")) "bf1ef2a463fca3e1ece80c70d63a5f5f8ce7b260396175de0d7a8e98f2c4d06b" else hash(artifactFile.readBytes())
|
||||
val sha = hash(artifactFile.readBytes())
|
||||
|
||||
val json = JsonBuilder(
|
||||
"name" to it.file.name,
|
||||
|
||||
Reference in New Issue
Block a user