-
Notifications
You must be signed in to change notification settings - Fork 26
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
Various changes to support automatically pulling sets of paths to use… #30
base: master
Are you sure you want to change the base?
Various changes to support automatically pulling sets of paths to use… #30
Conversation
… with the enigma tasks instead of a single 'app' task
The .idea files could stand to be git ignored, it seems. |
@@ -385,6 +385,9 @@ public void injectFakeKeys() { | |||
int sizeValue = Utils.getRandomNumberInRange(10, 30); | |||
String randomValue = TextUtils.getRandomString(sizeValue, TextUtils.KEY_CHARACTERS); | |||
|
|||
System.out.println("Injecting fake param: " + fakeParamName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debugging stuff, to be removed.
@@ -398,8 +401,13 @@ public void injectFakeKeys(String fakeParamName, String randomValue) { | |||
ArrayList<CodeBlock> classBlocks = getBlocksByType(CodeBlock.BlockType.Class); | |||
ArrayList<CodeBlock> functions = getFunctions(); | |||
|
|||
System.out.println("classBlocks size: " + classBlocks.size()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
if (Utils.arrayNotEmpty(classBlocks) && Utils.arrayNotEmpty(functions)) { | ||
|
||
System.out.println("Utils.arrayNotEmpty(classBlocks) && Utils.arrayNotEmpty(functions) PASSED"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
code.encryptStrings(hash, InjectCodeTask.FUNCTION_NAME); | ||
|
||
if (injectFakeKeys) code.injectFakeKeys(); | ||
if (injectFakeKeys) { | ||
System.out.println("INJECTING FAKE KEYS"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
Is this already done? |
… with the enigma tasks instead of a single 'app' task
Primarily: The original tasks would only function on a single 'app' task. This patch allows multiple dependencies to be 'enigmatized' while just including in the the base application, allowing it to be used with library modules.
Duplicate sources are handled via separate package names.