Groovy Documentation

com.github.abrarsyed.gmcp.tasks.obfuscate
[Groovy] Class ReobfTask

java.lang.Object
  org.gradle.api.DefaultTask
      com.github.abrarsyed.gmcp.tasks.obfuscate.ReobfTask

class ReobfTask
extends DefaultTask

Created with IntelliJ IDEA. User: AbrarSyed Date: 7/30/13 Time: 6:30 PM To change this template use File | Settings | File Templates.


Property Summary
java.lang.Object srg

 
Constructor Summary
ReobfTask()

 
Method Summary
void generate()

Generates the signature files.

FileCollection getFilesToObfuscate()

All of the files that will be signed by this task.

DomainObjectSet getObfuscated()

The signatures generated by this task.

FileCollection getObfuscatedFiles()

All of the signature files that will be generated by this operation.

void reobf(Task task, groovy.lang.Closure artifactSpec)

void reobf(Task... tasks)

Configures the task to sign the archive produced for each of the given tasks (which must be archive tasks).

void reobf(PublishArtifact publishArtifact, groovy.lang.Closure artifactSpec)

Configures the task to sign each of the given artifacts

void reobf(PublishArtifact... publishArtifacts)

Configures the task to sign each of the given artifacts

void reobf(java.io.File file, groovy.lang.Closure artifactSpec)

Configures the task to reobf each of the given files

void reobf(java.io.File... files)

Configures the task to reobf each of the given files

void reobf(Configuration configuration, groovy.lang.Closure artifactSpec)

Configures the task to obfuscate every artifact of the given configurations

void reobf(Configuration... configurations)

Configures the task to obfuscate every artifact of the given configurations

 

Property Detail

srg

java.lang.Object srg


 
Constructor Detail

ReobfTask

ReobfTask()


 
Method Detail

generate

@TaskAction
void generate()
Generates the signature files.


getFilesToObfuscate

FileCollection getFilesToObfuscate()
All of the files that will be signed by this task.


getObfuscated

DomainObjectSet getObfuscated()
The signatures generated by this task.


getObfuscatedFiles

FileCollection getObfuscatedFiles()
All of the signature files that will be generated by this operation.


reobf

void reobf(Task task, groovy.lang.Closure artifactSpec)


reobf

void reobf(Task... tasks)
Configures the task to sign the archive produced for each of the given tasks (which must be archive tasks).


reobf

void reobf(PublishArtifact publishArtifact, groovy.lang.Closure artifactSpec)
Configures the task to sign each of the given artifacts


reobf

void reobf(PublishArtifact... publishArtifacts)
Configures the task to sign each of the given artifacts


reobf

void reobf(java.io.File file, groovy.lang.Closure artifactSpec)
Configures the task to reobf each of the given files


reobf

void reobf(java.io.File... files)
Configures the task to reobf each of the given files


reobf

void reobf(Configuration configuration, groovy.lang.Closure artifactSpec)
Configures the task to obfuscate every artifact of the given configurations


reobf

void reobf(Configuration... configurations)
Configures the task to obfuscate every artifact of the given configurations


 

Groovy Documentation