Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make relevant fields public for gradle modification #81

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,20 @@ public class JnigenExtension {
* Gradle Tasks are executed in the main project working directory. Supply
* actual subproject path where necessary.
*/
String subProjectDir;
public String subProjectDir;

String sharedLibName = null;
String temporaryDir = "build/jnigen/target";
String libsDir = "build/jnigen/libs";
String jniDir = "build/jnigen/jni";
public String sharedLibName = null;
public String temporaryDir = "build/jnigen/target";
public String libsDir = "build/jnigen/libs";
public String jniDir = "build/jnigen/jni";

/**
* If we should build with release flag set.<br/>
* This strips debug symbols.
*/
boolean release = true;
public boolean release = true;

boolean multiThreadedCompile = true;
public boolean multiThreadedCompile = true;

NativeCodeGeneratorConfig nativeCodeGeneratorConfig;
public List<BuildTarget> targets = new ArrayList<>();
Expand Down Expand Up @@ -286,11 +286,11 @@ public void each (Predicate<BuildTarget> condition, Action<BuildTarget> containe
}
}

class NativeCodeGeneratorConfig {
SourceSet sourceSet;
public class NativeCodeGeneratorConfig {
public SourceSet sourceSet;
public String[] includes = null;
public String[] excludes = null;
private String[] sourceDirs;
String[] includes = null;
String[] excludes = null;

public NativeCodeGeneratorConfig (Project project) {
JavaPluginConvention javaPlugin = project.getConvention().getPlugin(JavaPluginConvention.class);
Expand Down
Loading