Skip to content

Commit 6020319

Browse files
committed
Add modules
1 parent 9fe5d5d commit 6020319

File tree

321 files changed

+7257
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

321 files changed

+7257
-1
lines changed

acra-pro/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ publish {
4545
userOrg = 'yongjhih'
4646
groupId = 'com.infstory'
4747
artifactId = 'acra-pro'
48-
publishVersion = '1.0.0'
48+
publishVersion = '2.0.0'
4949
desc = 'acra-pro'
5050
website = 'https://github.com/yongjhih/proguard-snippets'
5151
bintrayUser = getRepositoryUsername()
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## ActionBarSherlock 4.4.0 specific rules ##
2+
3+
-keep class android.support.v4.app.** { *; }
4+
-keep interface android.support.v4.app.** { *; }
5+
-keep class com.actionbarsherlock.** { *; }
6+
-keep interface com.actionbarsherlock.** { *; }
7+
-keepattributes *Annotation*
8+
9+
## hack for Actionbarsherlock 4.4.0, see https://github.com/JakeWharton/ActionBarSherlock/issues/1001 ##
10+
-dontwarn com.actionbarsherlock.internal.**

action-bar-sherlock-pro/build.gradle

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
buildscript {
2+
repositories {
3+
jcenter()
4+
}
5+
6+
dependencies {
7+
classpath 'com.android.tools.build:gradle:1.1.2'
8+
classpath 'com.novoda:bintray-release:0.3.4'
9+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
10+
}
11+
}
12+
13+
apply plugin: 'com.android.library'
14+
15+
repositories {
16+
jcenter()
17+
}
18+
19+
android {
20+
compileSdkVersion 21
21+
buildToolsVersion "21.1.0"
22+
23+
defaultConfig {
24+
minSdkVersion 4
25+
targetSdkVersion 21
26+
consumerProguardFiles fileTree(dir: '.', include: '*.pro')
27+
}
28+
}
29+
30+
dependencies {
31+
compile fileTree(dir: 'libs', include: '*.jar')
32+
}
33+
34+
apply plugin: 'com.novoda.bintray-release'
35+
36+
def getRepositoryUsername() {
37+
return hasProperty('BINTRAY_USER') ? BINTRAY_USER : ""
38+
}
39+
40+
def getRepositoryPassword() {
41+
return hasProperty('BINTRAY_KEY') ? BINTRAY_KEY : ""
42+
}
43+
44+
publish {
45+
userOrg = 'yongjhih'
46+
groupId = 'com.infstory'
47+
artifactId = 'action-bar-sherlock'
48+
publishVersion = '2.0.0'
49+
desc = 'action-bar-sherlock'
50+
website = 'https://github.com/yongjhih/proguard-snippets'
51+
bintrayUser = getRepositoryUsername()
52+
bintrayKey = getRepositoryPassword()
53+
dryRun = false
54+
}
55+
56+
apply plugin: 'com.github.dcendents.android-maven'
57+
apply from: 'javadoc.gradle'
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// build a jar with source files
2+
task sourcesJar(type: Jar) {
3+
from android.sourceSets.main.java.srcDirs
4+
classifier = 'sources'
5+
}
6+
7+
task javadoc(type: Javadoc) {
8+
failOnError false
9+
source = android.sourceSets.main.java.sourceFiles
10+
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
11+
}
12+
13+
// build a jar with javadoc
14+
task javadocJar(type: Jar, dependsOn: javadoc) {
15+
classifier = 'javadoc'
16+
from javadoc.destinationDir
17+
}
18+
19+
artifacts {
20+
archives sourcesJar
21+
archives javadocJar
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="proguard.action.bar.sherlock" />

activeandroid-pro/activeandroid.pro

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# ActiveAndroid
2+
-keep class com.activeandroid.** { *; }
3+
-keep class com.activeandroid.**.** { *; }
4+
-keep class * extends com.activeandroid.Model
5+
-keep class * extends com.activeandroid.serializer.TypeSerializer

activeandroid-pro/build.gradle

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
buildscript {
2+
repositories {
3+
jcenter()
4+
}
5+
6+
dependencies {
7+
classpath 'com.android.tools.build:gradle:1.1.2'
8+
classpath 'com.novoda:bintray-release:0.3.4'
9+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
10+
}
11+
}
12+
13+
apply plugin: 'com.android.library'
14+
15+
repositories {
16+
jcenter()
17+
}
18+
19+
android {
20+
compileSdkVersion 21
21+
buildToolsVersion "21.1.0"
22+
23+
defaultConfig {
24+
minSdkVersion 4
25+
targetSdkVersion 21
26+
consumerProguardFiles fileTree(dir: '.', include: '*.pro')
27+
}
28+
}
29+
30+
dependencies {
31+
compile fileTree(dir: 'libs', include: '*.jar')
32+
}
33+
34+
apply plugin: 'com.novoda.bintray-release'
35+
36+
def getRepositoryUsername() {
37+
return hasProperty('BINTRAY_USER') ? BINTRAY_USER : ""
38+
}
39+
40+
def getRepositoryPassword() {
41+
return hasProperty('BINTRAY_KEY') ? BINTRAY_KEY : ""
42+
}
43+
44+
publish {
45+
userOrg = 'yongjhih'
46+
groupId = 'com.infstory'
47+
artifactId = 'activeandroid'
48+
publishVersion = '2.0.0'
49+
desc = 'activeandroid'
50+
website = 'https://github.com/yongjhih/proguard-snippets'
51+
bintrayUser = getRepositoryUsername()
52+
bintrayKey = getRepositoryPassword()
53+
dryRun = false
54+
}
55+
56+
apply plugin: 'com.github.dcendents.android-maven'
57+
apply from: 'javadoc.gradle'

activeandroid-pro/javadoc.gradle

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// build a jar with source files
2+
task sourcesJar(type: Jar) {
3+
from android.sourceSets.main.java.srcDirs
4+
classifier = 'sources'
5+
}
6+
7+
task javadoc(type: Javadoc) {
8+
failOnError false
9+
source = android.sourceSets.main.java.sourceFiles
10+
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
11+
}
12+
13+
// build a jar with javadoc
14+
task javadocJar(type: Jar, dependsOn: javadoc) {
15+
classifier = 'javadoc'
16+
from javadoc.destinationDir
17+
}
18+
19+
artifacts {
20+
archives sourcesJar
21+
archives javadocJar
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="proguard.activeandroid" />

adjust-pro/adjust.pro

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
-keep class com.adjust.sdk.plugin.MacAddressUtil {
2+
java.lang.String getMacAddress(android.content.Context);
3+
}
4+
-keep class com.adjust.sdk.plugin.AndroidIdUtil {
5+
java.lang.String getAndroidId(android.content.Context);
6+
}
7+
-keep class com.google.android.gms.common.ConnectionResult {
8+
int SUCCESS;
9+
}
10+
-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient {
11+
com.google.android.gms.ads.identifier.AdvertisingIdClient$Info getAdvertisingIdInfo (android.content.Context);
12+
}
13+
-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient$Info {
14+
java.lang.String getId ();
15+
boolean isLimitAdTrackingEnabled();
16+
}

adjust-pro/build.gradle

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
buildscript {
2+
repositories {
3+
jcenter()
4+
}
5+
6+
dependencies {
7+
classpath 'com.android.tools.build:gradle:1.1.2'
8+
classpath 'com.novoda:bintray-release:0.3.4'
9+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
10+
}
11+
}
12+
13+
apply plugin: 'com.android.library'
14+
15+
repositories {
16+
jcenter()
17+
}
18+
19+
android {
20+
compileSdkVersion 21
21+
buildToolsVersion "21.1.0"
22+
23+
defaultConfig {
24+
minSdkVersion 4
25+
targetSdkVersion 21
26+
consumerProguardFiles fileTree(dir: '.', include: '*.pro')
27+
}
28+
}
29+
30+
dependencies {
31+
compile fileTree(dir: 'libs', include: '*.jar')
32+
}
33+
34+
apply plugin: 'com.novoda.bintray-release'
35+
36+
def getRepositoryUsername() {
37+
return hasProperty('BINTRAY_USER') ? BINTRAY_USER : ""
38+
}
39+
40+
def getRepositoryPassword() {
41+
return hasProperty('BINTRAY_KEY') ? BINTRAY_KEY : ""
42+
}
43+
44+
publish {
45+
userOrg = 'yongjhih'
46+
groupId = 'com.infstory'
47+
artifactId = 'adjust'
48+
publishVersion = '2.0.0'
49+
desc = 'adjust'
50+
website = 'https://github.com/yongjhih/proguard-snippets'
51+
bintrayUser = getRepositoryUsername()
52+
bintrayKey = getRepositoryPassword()
53+
dryRun = false
54+
}
55+
56+
apply plugin: 'com.github.dcendents.android-maven'
57+
apply from: 'javadoc.gradle'

adjust-pro/javadoc.gradle

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// build a jar with source files
2+
task sourcesJar(type: Jar) {
3+
from android.sourceSets.main.java.srcDirs
4+
classifier = 'sources'
5+
}
6+
7+
task javadoc(type: Javadoc) {
8+
failOnError false
9+
source = android.sourceSets.main.java.sourceFiles
10+
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
11+
}
12+
13+
// build a jar with javadoc
14+
task javadocJar(type: Jar, dependsOn: javadoc) {
15+
classifier = 'javadoc'
16+
from javadoc.destinationDir
17+
}
18+
19+
artifacts {
20+
archives sourcesJar
21+
archives javadocJar
22+
}
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="proguard.adjust" />

admob-pro/admob.pro

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-keep class com.google.ads.** # Don't proguard AdMob classes
2+
-dontwarn com.google.ads.**

admob-pro/build.gradle

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
buildscript {
2+
repositories {
3+
jcenter()
4+
}
5+
6+
dependencies {
7+
classpath 'com.android.tools.build:gradle:1.1.2'
8+
classpath 'com.novoda:bintray-release:0.3.4'
9+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
10+
}
11+
}
12+
13+
apply plugin: 'com.android.library'
14+
15+
repositories {
16+
jcenter()
17+
}
18+
19+
android {
20+
compileSdkVersion 21
21+
buildToolsVersion "21.1.0"
22+
23+
defaultConfig {
24+
minSdkVersion 4
25+
targetSdkVersion 21
26+
consumerProguardFiles fileTree(dir: '.', include: '*.pro')
27+
}
28+
}
29+
30+
dependencies {
31+
compile fileTree(dir: 'libs', include: '*.jar')
32+
}
33+
34+
apply plugin: 'com.novoda.bintray-release'
35+
36+
def getRepositoryUsername() {
37+
return hasProperty('BINTRAY_USER') ? BINTRAY_USER : ""
38+
}
39+
40+
def getRepositoryPassword() {
41+
return hasProperty('BINTRAY_KEY') ? BINTRAY_KEY : ""
42+
}
43+
44+
publish {
45+
userOrg = 'yongjhih'
46+
groupId = 'com.infstory'
47+
artifactId = 'admob'
48+
publishVersion = '2.0.0'
49+
desc = 'admob'
50+
website = 'https://github.com/yongjhih/proguard-snippets'
51+
bintrayUser = getRepositoryUsername()
52+
bintrayKey = getRepositoryPassword()
53+
dryRun = false
54+
}
55+
56+
apply plugin: 'com.github.dcendents.android-maven'
57+
apply from: 'javadoc.gradle'

admob-pro/javadoc.gradle

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// build a jar with source files
2+
task sourcesJar(type: Jar) {
3+
from android.sourceSets.main.java.srcDirs
4+
classifier = 'sources'
5+
}
6+
7+
task javadoc(type: Javadoc) {
8+
failOnError false
9+
source = android.sourceSets.main.java.sourceFiles
10+
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
11+
}
12+
13+
// build a jar with javadoc
14+
task javadocJar(type: Jar, dependsOn: javadoc) {
15+
classifier = 'javadoc'
16+
from javadoc.destinationDir
17+
}
18+
19+
artifacts {
20+
archives sourcesJar
21+
archives javadocJar
22+
}
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="proguard.admob" />
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# fastjson proguard rules
2+
# https://github.com/alibaba/fastjson
3+
4+
-dontwarn com.alibaba.fastjson.**
5+
-keepattributes Signature
6+
-keepattributes *Annotation*

0 commit comments

Comments
 (0)