org.xtext.gradle.idea.tasks.AssembleSandbox Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xtext-idea-gradle-plugin Show documentation
Show all versions of xtext-idea-gradle-plugin Show documentation
A plugin for for building IntelliJ IDEA Xtext plugins
package org.xtext.gradle.idea.tasks;
import org.eclipse.xtend.lib.annotations.Accessors;
import org.eclipse.xtext.xbase.lib.Pure;
import org.gradle.api.file.CopySpec;
import org.gradle.api.internal.file.copy.CopySpecInternal;
import org.gradle.api.internal.file.copy.DestinationRootCopySpec;
import org.gradle.api.tasks.Sync;
@Accessors
@SuppressWarnings("all")
public class AssembleSandbox extends Sync {
private CopySpec plugin;
private CopySpec classes;
private CopySpec libraries;
private CopySpec metaInf;
public AssembleSandbox() {
DestinationRootCopySpec _rootSpec = this.getRootSpec();
final CopySpecInternal plugin = _rootSpec.addChild();
this.plugin = plugin;
CopySpecInternal _addChild = plugin.addChild();
CopySpec _into = _addChild.into("classes");
this.classes = _into;
CopySpecInternal _addChild_1 = plugin.addChild();
CopySpec _into_1 = _addChild_1.into("lib");
this.libraries = _into_1;
CopySpecInternal _addChild_2 = plugin.addChild();
CopySpec _into_2 = _addChild_2.into("META-INF");
this.metaInf = _into_2;
}
@Pure
public CopySpec getPlugin() {
return this.plugin;
}
public void setPlugin(final CopySpec plugin) {
this.plugin = plugin;
}
@Pure
public CopySpec getClasses() {
return this.classes;
}
public void setClasses(final CopySpec classes) {
this.classes = classes;
}
@Pure
public CopySpec getLibraries() {
return this.libraries;
}
public void setLibraries(final CopySpec libraries) {
this.libraries = libraries;
}
@Pure
public CopySpec getMetaInf() {
return this.metaInf;
}
public void setMetaInf(final CopySpec metaInf) {
this.metaInf = metaInf;
}
}