Skip to content

Commit

Permalink
Remove commented-out detachedConfigurationCreator. It has been moved …
Browse files Browse the repository at this point in the history
…to within the jrubyLessDependenciesProvider
  • Loading branch information
tylerbertrand committed Jun 20, 2024
1 parent 17f6274 commit fe09ac0
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,7 @@ class AbstractAsciidoctorTask extends AbstractJvmModelExecTask<AsciidoctorJvmExe
* @param m Map with new options
*/
void attributes(Map m) {
attributesProperty.set(attributesProperty.get() + m)

attributesProperty.putAll(m)
}

/** Additional providers of attributes.
Expand Down Expand Up @@ -537,12 +536,6 @@ class AbstractAsciidoctorTask extends AbstractJvmModelExecTask<AsciidoctorJvmExe
this.rootDir = project.rootDir
this.jvmClasspath = project.objects.property(FileCollection)
this.execConfigurationDataFile = getExecConfigurationDataFile(this)
// this.detachedConfigurationCreator = { ConfigurationContainer c, List<Dependency> deps ->
// final cfg = c.detachedConfiguration(deps.toArray() as Dependency[])
// cfg.canBeConsumed = false
// cfg.canBeResolved = true
// cfg
// }.curry(project.configurations) as Function<List<Dependency>, Configuration>

inputs.files { gemJarProviders }.withPathSensitivity(RELATIVE)
inputs.property 'backends', { -> backends() }
Expand Down

0 comments on commit fe09ac0

Please sign in to comment.