-
Notifications
You must be signed in to change notification settings - Fork 395
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
Jack support #743
Jack support #743
Conversation
This is the WIP for #536 |
Wdyt @secondsun .. merge to master or feature branch? I am kind of thinking master ... we wont cut a release for a while and then we have it right there. |
@mosabua I'm fine with master if you are |
@@ -886,6 +897,13 @@ | |||
<relaxed>false</relaxed> | |||
</configuration> | |||
</plugin> | |||
<plugin> |
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.
This should be removed since a checkstyle enforcement is already part of the project.
public String[] createCommandLine( CompilerConfiguration cc ) throws CompilerException | ||
{ | ||
String androidHome = System.getenv( "ANDROID_HOME" ); | ||
String jackJarPath = androidHome + "/build-tools/24.0.2/jack.jar"; |
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.
Can we find a betterh way to get it on the classpath?
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.
Just checked .. I think we should use this
if possible
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.
Merged to master now. Will still have to have a closer look and so on, but we can announce it tomorrow.
@Override | ||
public String[] createCommandLine( CompilerConfiguration cc ) throws CompilerException | ||
{ | ||
String androidHome = System.getenv( "ANDROID_HOME" ); |
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.
This should be available from AndroidSDK
public String[] createCommandLine( CompilerConfiguration cc ) throws CompilerException | ||
{ | ||
String androidHome = System.getenv( "ANDROID_HOME" ); | ||
String jackJarPath = androidHome + "/build-tools/24.0.2/jack.jar"; |
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.
Just checked .. I think we should use this
if possible
<type>jar</type> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.maven.plugins</groupId> |
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.
Why is this dependency actually needed? Supposedly its not good practice to depend on another plugin.
Good job! Should the proguardMojo also have the following code?
|
Probably @Shusshu .. this is in master now. You should commit the fix ;-) |
#744 ;) via github |
Merged already .. haha! Going to make a changelog entry next .. |
Any news on this? |
@mosabua Initial / experimental support for jack here.
YouTube Demo : https://youtu.be/0b3wGdVulIs