Files
alunizaje/StartGamedev-160604-osx/tools/android-osx/tools/proguard/examples/annotations/examples/Application.java
Andros Fenollosa 8ec8327e5e Compatible Android
2016-11-03 00:05:36 +01:00

21 lines
538 B
Java
Executable File

import proguard.annotation.KeepApplication;
/**
* This application illustrates the use of annotations for configuring ProGuard.
*
* You can compile it with:
* javac -classpath ../lib/annotations.jar Application.java
* You can then process it with:
* java -jar ../../../lib/proguard.jar @ ../examples.pro
*
* The annotation will preserve the class and its main method.
*/
@KeepApplication
public class Application
{
public static void main(String[] args)
{
System.out.println("The answer is 42");
}
}