• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisionda164d0fdbc4ada0efee8fd317ba060bbce192c2 (tree)
Time2012-11-23 13:56:20
AuthorMasahiko, SAWAI <say@user...>
CommiterMasahiko, SAWAI

Log Message

pom.xml を更新

* プラグインのバージョンを更新
* リリースビルド時に proguard を実行するように変更

Change Summary

Incremental Difference

--- a/intent-lab/pom.xml
+++ b/intent-lab/pom.xml
@@ -1,6 +1,6 @@
11 <?xml version="1.0" encoding="UTF-8" ?>
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
44 <modelVersion>4.0.0</modelVersion>
55 <groupId>org.routine_work.intent_lab</groupId>
66 <artifactId>intent-lab</artifactId>
@@ -44,7 +44,7 @@
4444 <plugin>
4545 <groupId>com.jayway.maven.plugins.android.generation2</groupId>
4646 <artifactId>android-maven-plugin</artifactId>
47- <version>3.3.2</version>
47+ <version>3.4.0</version>
4848 </plugin>
4949
5050 <!-- mvn compile -->
@@ -79,12 +79,12 @@
7979 <plugin>
8080 <groupId>org.apache.maven.plugins</groupId>
8181 <artifactId>maven-site-plugin</artifactId>
82- <version>3.1</version>
82+ <version>3.2</version>
8383 </plugin>
8484 <plugin>
8585 <groupId>org.apache.maven.plugins</groupId>
8686 <artifactId>maven-project-info-reports-plugin</artifactId>
87- <version>2.5.1</version>
87+ <version>2.6</version>
8888 </plugin>
8989
9090 <!-- mvn javadoc:javadoc -->
@@ -222,8 +222,10 @@
222222 <alias>${sign.alias}</alias>
223223 <keypass>${sign.keypass}</keypass>
224224 <arguments>
225- <argument>-sigalg</argument> <argument>MD5withRSA</argument>
226- <argument>-digestalg</argument> <argument>SHA1</argument>
225+ <argument>-sigalg</argument>
226+ <argument>MD5withRSA</argument>
227+ <argument>-digestalg</argument>
228+ <argument>SHA1</argument>
227229 </arguments>
228230 </configuration>
229231 </execution>
@@ -231,10 +233,10 @@
231233 </plugin>
232234
233235 <!--
234- - Disable debug sign
235- - Enable zipalign
236- - Enable proguard
237- -->
236+ - Disable debug sign
237+ - Enable zipalign
238+ - Enable proguard
239+ -->
238240 <plugin>
239241 <groupId>com.jayway.maven.plugins.android.generation2</groupId>
240242 <artifactId>android-maven-plugin</artifactId>
@@ -249,6 +251,7 @@
249251 </executions>
250252 <configuration>
251253 <zipalign>
254+ <skip>false</skip>
252255 <verbose>true</verbose>
253256 <inputApk>${project.build.directory}/${project.artifactId}-${project.version}.apk</inputApk>
254257 <outputApk>${project.build.directory}/${project.artifactId}-${project.version}-signed-aligned.apk</outputApk>
--- /dev/null
+++ b/intent-lab/proguard.cfg
@@ -0,0 +1,83 @@
1+# Configuration for ProGuard
2+# From http://proguard.sourceforge.net/index.html#/manual/examples.html#androidapplication
3+
4+-dontusemixedcaseclassnames
5+-dontskipnonpubliclibraryclasses
6+-verbose
7+
8+-dontpreverify
9+
10+# Optimization is turned off by default. Dex does not like code run
11+# through the ProGuard optimize and preverify steps (and performs some
12+# of these optimizations on its own).
13+## optimize : off
14+#-dontoptimize
15+## optimize : on
16+-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*
17+-optimizationpasses 5
18+-allowaccessmodification
19+##
20+
21+-keepattributes *Annotation*
22+
23+-keep public class com.google.vending.licensing.ILicensingService
24+-keep public class com.android.vending.licensing.ILicensingService
25+-keep public interface com.android.vending.licensing.ILicensingService
26+
27+-keep public class * extends android.app.Activity
28+-keep public class * extends android.app.Application
29+-keep public class * extends android.app.Service
30+-keep public class * extends android.content.BroadcastReceiver
31+-keep public class * extends android.content.ContentProvider
32+
33+-keep public class * extends android.view.View {
34+ public <init>(android.content.Context);
35+ public <init>(android.content.Context, android.util.AttributeSet);
36+ public <init>(android.content.Context, android.util.AttributeSet, int);
37+ public void set*(...);
38+}
39+
40+-keepclasseswithmembers class * {
41+ public <init>(android.content.Context, android.util.AttributeSet);
42+}
43+
44+-keepclasseswithmembers class * {
45+ public <init>(android.content.Context, android.util.AttributeSet, int);
46+}
47+
48+-keepclassmembers class * implements android.os.Parcelable {
49+ static android.os.Parcelable$Creator CREATOR;
50+}
51+
52+-keepclassmembers class **.R$* {
53+ public static <fields>;
54+}
55+
56+-keepclasseswithmembernames class * {
57+ native <methods>;
58+}
59+
60+-keepclassmembers class * extends java.lang.Enum {
61+ public static **[] values();
62+ public static ** valueOf(java.lang.String);
63+}
64+
65+# Removes all calls to Log. Delete the methods if you want to keep.
66+-assumenosideeffects class android.util.Log {
67+ public static int v(...);
68+ public static int d(...);
69+ public static int i(...);
70+ public static int w(...);
71+ public static int e(...);
72+ public static int wtf(...);
73+}
74+
75+-assumenosideeffects class org.routine_work.utils.Log{
76+ public static int v(...);
77+ public static int d(...);
78+ public static int i(...);
79+ public static int w(...);
80+ public static int e(...);
81+ public static int log(...);
82+}
83+