forked from rtyley/agit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
188 lines (179 loc) · 8.54 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2011 Roberto Tyley
~
~ This file is part of 'Agit' - an Android Git client.
~
~ Agit is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ Agit is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<version>1.0-SNAPSHOT</version>
<groupId>com.madgag</groupId>
<artifactId>agit-parent</artifactId>
<packaging>pom</packaging>
<name>Agit parent POM project</name>
<modules>
<module>agit-test-utils</module>
<module>agit</module>
<module>agit-tests</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<android.version>2.3.3</android.version>
</properties>
<licenses>
<license>
<name>GPL v3</name>
<url>http://www.gnu.org/licenses/gpl-3.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<dependencies>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<scope>provided</scope>
<version>${android.version}</version>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.madgag</groupId>
<artifactId>org.eclipse.jgit</artifactId>
<version>0.9.9.99.2-UNOFFICIAL-ROBERTO-RELEASE</version>
</dependency>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android-test</artifactId>
<version>${android.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>r09</version>
</dependency>
<dependency>
<groupId>com.madgag</groupId>
<artifactId>util-compress</artifactId>
<version>1.27</version>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>1.3.RC2</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>maven-android-plugin</artifactId>
<version>2.9.0-beta-4</version>
<configuration>
<jvmArguments>
<jvmArgument>-Xmx512m</jvmArgument>
</jvmArguments>
<sdk>
<path>${user.home}/android-sdk/</path>
<platform>8</platform>
</sdk>
<emulator>
<avd>22</avd>
</emulator>
<deleteConflictingFiles>true</deleteConflictingFiles>
<undeployBeforeDeploy>true</undeployBeforeDeploy>
</configuration>
<extensions>true</extensions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
</plugin>
<plugin>
<groupId>com.pyx4me</groupId>
<artifactId>proguard-maven-plugin</artifactId>
<version>2.0.4</version>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>proguard</goal>
</goals>
</execution>
</executions>
<configuration>
<proguardVersion>4.4</proguardVersion>
<injar>android-classes</injar>
<libs>
<lib>${java.home}/lib/rt.jar</lib>
</libs>
<obfuscate>false</obfuscate>
<options>
<option>-keepclassmembers
enum * { public static **[] values(); public static ** valueOf(java.lang.String);
}
</option>
<option>-keep class com.madgag.agit.**</option>
<option>-keep public class * extends android.app.Activity</option>
<option>-keep public class * extends android.app.Application</option>
<option>-keep public class * extends android.app.Service</option>
<option>-keep public class * extends android.content.BroadcastReceiver</option>
<option>-keep public class * extends android.content.ContentProvider</option>
<option>-keep
public class * extends android.view.View { public <init>(android.content.Context);
public <init>(android.content.Context, android.util.AttributeSet);
public <init>(android.content.Context, android.util.AttributeSet, int);
public void set*(...); }
</option>
<option>-keep public class roboguice.**</option>
<option>-keep class com.google.inject.Binder</option>
<option>-keepclassmembers class * { @com.google.inject.Inject <init>(...); }</option>
<!-- JSch -->
<option>-keep class com.jcraft.jsch.jce.*</option>
<option>-keep class * extends com.jcraft.jsch.KeyExchange</option>
<option>-keep class com.jcraft.jsch.**</option> <!-- This is giving in - would rather rely on lines like the above -->
<option>-dontskipnonpubliclibraryclasses</option>
<option>-dontoptimize</option>
<option>-printmapping map.txt</option>
<option>-printseeds seed.txt</option>
<option>-ignorewarnings</option>
<option>-keepattributes *Annotation*</option>
<option>-keepclassmembers class com.google.inject.assistedinject.FactoryProvider2 { *; }</option>
<option>-keep public class * extends junit.framework.TestCase</option>
<option>-keepclassmembers class * {
@com.google.inject.Provides *;
@android.test.suitebuilder.annotation.* *;
void test*(...);
}</option>
<option>-keepclassmembers class * extends roboguice.application.RoboApplication { *; }</option>
<option>-keepclassmembers class * extends android.app.Activity {
public void *(android.view.View);
}</option>
</options>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>