jbuild.api.config.JbConfig Maven / Gradle / Ivy
Show all versions of jbuild-api Show documentation
package jbuild.api.config;
import java.util.List;
import java.util.Map;
/**
* The jb configuration.
*
* Does not include custom tasks' configurations.
*
* Common configuration (visible by multiple tasks) can be provided via jb properties.
*/
public final class JbConfig {
public final String group;
public final String module;
public final String name;
public final String version;
public final String description;
public final String url;
public final String mainClass;
public final String extensionProject;
public final List sourceDirs;
public final String outputDir;
public final String outputJar;
public final List resourceDirs;
public final List repositories;
public final Map dependencies;
public final Map processorDependencies;
public final List dependencyExclusionPatterns;
public final List processorDependencyExclusionPatterns;
public final String compileLibsDir;
public final String runtimeLibsDir;
public final String testReportsDir;
public final List javacArgs;
public final List runJavaArgs;
public final List testJavaArgs;
public final Map javacEnv;
public final Map runJavaEnv;
public final Map testJavaEnv;
public final SourceControlManagement scm;
public final List developers;
public final List licenses;
public final Map properties;
public JbConfig(String group,
String module,
String name,
String version,
String description,
String url,
String mainClass,
String extensionProject,
List sourceDirs,
String outputDir,
String outputJar,
List resourceDirs,
List repositories,
Map dependencies,
Map processorDependencies,
List dependencyExclusionPatterns,
List processorDependencyExclusionPatterns,
String compileLibsDir,
String runtimeLibsDir,
String testReportsDir,
List javacArgs,
List runJavaArgs,
List testJavaArgs,
Map javacEnv,
Map runJavaEnv,
Map testJavaEnv,
SourceControlManagement scm,
List developers,
List licenses,
Map properties) {
this.group = group;
this.module = module;
this.name = name;
this.version = version;
this.description = description;
this.url = url;
this.mainClass = mainClass;
this.extensionProject = extensionProject;
this.sourceDirs = sourceDirs;
this.outputDir = outputDir;
this.outputJar = outputJar;
this.resourceDirs = resourceDirs;
this.repositories = repositories;
this.dependencies = dependencies;
this.processorDependencies = processorDependencies;
this.dependencyExclusionPatterns = dependencyExclusionPatterns;
this.processorDependencyExclusionPatterns = processorDependencyExclusionPatterns;
this.compileLibsDir = compileLibsDir;
this.runtimeLibsDir = runtimeLibsDir;
this.testReportsDir = testReportsDir;
this.javacArgs = javacArgs;
this.runJavaArgs = runJavaArgs;
this.testJavaArgs = testJavaArgs;
this.javacEnv = javacEnv;
this.runJavaEnv = runJavaEnv;
this.testJavaEnv = testJavaEnv;
this.scm = scm;
this.developers = developers;
this.licenses = licenses;
this.properties = properties;
}
@Override
public String toString() {
return "JbConfig{" +
"group='" + group + '\'' +
", module='" + module + '\'' +
", name='" + name + '\'' +
", version='" + version + '\'' +
", description='" + description + '\'' +
", url='" + url + '\'' +
", mainClass='" + mainClass + '\'' +
", extensionProject='" + extensionProject + '\'' +
", sourceDirs=" + sourceDirs +
", outputDir='" + outputDir + '\'' +
", outputJar='" + outputJar + '\'' +
", resourceDirs=" + resourceDirs +
", repositories=" + repositories +
", dependencies=" + dependencies +
", processorDependencies=" + processorDependencies +
", dependencyExclusionPatterns=" + dependencyExclusionPatterns +
", processorDependencyExclusionPatterns=" + processorDependencyExclusionPatterns +
", compileLibsDir='" + compileLibsDir + '\'' +
", runtimeLibsDir='" + runtimeLibsDir + '\'' +
", testReportsDir='" + testReportsDir + '\'' +
", javacArgs=" + javacArgs +
", runJavaArgs=" + runJavaArgs +
", testJavaArgs=" + testJavaArgs +
", javacEnv=" + javacEnv +
", runJavaEnv=" + runJavaEnv +
", testJavaEnv=" + testJavaEnv +
", scm=" + scm +
", developers=" + developers +
", licenses=" + licenses +
", properties=" + properties +
'}';
}
}