Skip to content

Commit c3b614a

Browse files
committed
changed package name to com.anchorfree.bolts
1 parent 630ead0 commit c3b614a

31 files changed

+84
-88
lines changed

bolts-applinks/src/androidTest/java/bolts/AppLinkTest.java bolts-applinks/src/androidTest/java/com/anchorfree/bolts/AppLinkTest.java

+7-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
*/
10-
package bolts;
10+
package com.anchorfree.bolts;
1111

1212
import android.content.BroadcastReceiver;
1313
import android.content.Context;
@@ -19,6 +19,12 @@
1919
import android.support.v4.content.LocalBroadcastManager;
2020
import android.test.InstrumentationTestCase;
2121

22+
import com.anchorfree.bolts.AppLink;
23+
import com.anchorfree.bolts.AppLinkNavigation;
24+
import com.anchorfree.bolts.AppLinks;
25+
import com.anchorfree.bolts.MeasurementEvent;
26+
import com.anchorfree.bolts.Task;
27+
import com.anchorfree.bolts.WebViewAppLinkResolver;
2228
import org.json.JSONArray;
2329
import org.json.JSONObject;
2430

bolts-applinks/src/androidTest/java/bolts/TaskTest.java bolts-applinks/src/androidTest/java/com/anchorfree/bolts/TaskTest.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
package bolts;
1+
package com.anchorfree.bolts;
22

33
import android.os.Looper;
44
import android.test.InstrumentationTestCase;
55

6+
import com.anchorfree.bolts.Continuation;
7+
import com.anchorfree.bolts.Task;
68
import java.util.concurrent.Callable;
79
import java.util.concurrent.CancellationException;
810

bolts-applinks/src/androidTest/java/bolts/utils/BoltsActivity.java bolts-applinks/src/androidTest/java/com/anchorfree/bolts/utils/BoltsActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
*/
10-
package bolts.utils;
10+
package com.anchorfree.bolts.utils;
1111

1212
import android.app.Activity;
1313

bolts-applinks/src/androidTest/java/bolts/utils/BoltsActivity2.java bolts-applinks/src/androidTest/java/com/anchorfree/bolts/utils/BoltsActivity2.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
*/
10-
package bolts.utils;
10+
package com.anchorfree.bolts.utils;
1111

1212
import android.app.Activity;
1313

bolts-applinks/src/main/java/bolts/AppLink.java bolts-applinks/src/main/java/com/anchorfree/bolts/AppLink.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
*/
10-
package bolts;
10+
package com.anchorfree.bolts;
1111

1212
import android.net.Uri;
1313

bolts-applinks/src/main/java/bolts/AppLinkNavigation.java bolts-applinks/src/main/java/com/anchorfree/bolts/AppLinkNavigation.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
*/
10-
package bolts;
10+
package com.anchorfree.bolts;
1111

1212
import android.content.Context;
1313
import android.content.Intent;

bolts-applinks/src/main/java/bolts/AppLinkResolver.java bolts-applinks/src/main/java/com/anchorfree/bolts/AppLinkResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
*/
10-
package bolts;
10+
package com.anchorfree.bolts;
1111

1212
import android.net.Uri;
1313

bolts-applinks/src/main/java/bolts/AppLinks.java bolts-applinks/src/main/java/com/anchorfree/bolts/AppLinks.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
*/
10-
package bolts;
10+
package com.anchorfree.bolts;
1111

1212
import android.content.Context;
1313
import android.content.Intent;

bolts-applinks/src/main/java/bolts/Bolts.java bolts-applinks/src/main/java/com/anchorfree/bolts/Bolts.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
*/
10-
package bolts;
10+
package com.anchorfree.bolts;
1111

1212
/**
1313
*

bolts-applinks/src/main/java/bolts/MeasurementEvent.java bolts-applinks/src/main/java/com/anchorfree/bolts/MeasurementEvent.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*/
1010

11-
package bolts;
11+
package com.anchorfree.bolts;
1212

1313
import android.content.ComponentName;
1414
import android.content.Context;
@@ -49,7 +49,7 @@ public class MeasurementEvent {
4949
// Events
5050
/**
5151
* The name for event of navigating out to other apps. Event raised in navigation methods, e.g.
52-
* {@link bolts.AppLinkNavigation#navigateInBackground(Context, String)}
52+
* {@link AppLinkNavigation#navigateInBackground(Context, String)}
5353
**/
5454
public static final String APP_LINK_NAVIGATE_OUT_EVENT_NAME = "al_nav_out";
5555

bolts-applinks/src/main/java/bolts/WebViewAppLinkResolver.java bolts-applinks/src/main/java/com/anchorfree/bolts/WebViewAppLinkResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
*/
10-
package bolts;
10+
package com.anchorfree.bolts;
1111

1212
import android.content.Context;
1313
import android.net.Uri;

bolts-tasks/build.gradle

+10-37
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apply plugin: 'java'
1+
apply plugin: 'com.android.library'
22

33
group = GROUP_NAME
44
version = VERSION_NAME
@@ -7,15 +7,22 @@ configurations {
77
provided
88
}
99

10+
android {
11+
compileSdkVersion rootProject.ext.compileSdkVersion
12+
buildToolsVersion rootProject.ext.buildToolsVersion
13+
14+
defaultConfig {
15+
minSdkVersion rootProject.ext.minSdkVersion
16+
targetSdkVersion rootProject.ext.targetSdkVersion
17+
}
18+
}
1019
sourceSets {
1120
main {
1221
compileClasspath += configurations.provided
1322
}
1423
}
1524

1625
dependencies {
17-
provided 'com.google.android:android:4.1.1.4'
18-
1926
testCompile 'junit:junit:4.12'
2027
}
2128

@@ -76,38 +83,4 @@ signing {
7683
sign configurations.archives
7784
}
7885

79-
task sourcesJar(type: Jar) {
80-
classifier = 'sources'
81-
from sourceSets.main.allJava
82-
}
83-
84-
task javadocJar (type: Jar, dependsOn: javadoc) {
85-
classifier = 'javadoc'
86-
from javadoc.destinationDir
87-
}
88-
89-
artifacts {
90-
archives sourcesJar
91-
archives javadocJar
92-
}
93-
94-
//endregion
95-
96-
//region Code Coverage
97-
98-
apply plugin: 'jacoco'
99-
100-
jacoco {
101-
toolVersion = '0.7.1.201405082137'
102-
}
103-
104-
jacocoTestReport {
105-
group = "Reporting"
106-
description = "Generate Jacoco coverage reports after running tests."
107-
reports {
108-
xml.enabled true
109-
html.enabled true
110-
}
111-
}
112-
11386
//endregion
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<manifest package="com.anchorfree.bolts" >
2+
3+
<application>
4+
</application>
5+
6+
</manifest>

bolts-tasks/src/main/java/bolts/AggregateException.java bolts-tasks/src/main/java/com/anchorfree/bolts/AggregateException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
*/
10-
package bolts;
10+
package com.anchorfree.bolts;
1111

1212
import java.io.PrintStream;
1313
import java.io.PrintWriter;

bolts-tasks/src/main/java/bolts/AndroidExecutors.java bolts-tasks/src/main/java/com/anchorfree/bolts/AndroidExecutors.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
*/
10-
package bolts;
10+
package com.anchorfree.bolts;
1111

1212
import android.annotation.SuppressLint;
1313
import android.os.Build;

bolts-tasks/src/main/java/bolts/BoltsExecutors.java bolts-tasks/src/main/java/com/anchorfree/bolts/BoltsExecutors.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package bolts;
1+
package com.anchorfree.bolts;
22

33
import java.util.Locale;
44
import java.util.concurrent.Executor;

bolts-tasks/src/main/java/bolts/CancellationToken.java bolts-tasks/src/main/java/com/anchorfree/bolts/CancellationToken.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
*/
10-
package bolts;
10+
package com.anchorfree.bolts;
1111

12-
import java.util.ArrayList;
13-
import java.util.List;
1412
import java.util.Locale;
1513
import java.util.concurrent.CancellationException;
1614

bolts-tasks/src/main/java/bolts/CancellationTokenRegistration.java bolts-tasks/src/main/java/com/anchorfree/bolts/CancellationTokenRegistration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
*/
10-
package bolts;
10+
package com.anchorfree.bolts;
1111

1212
import java.io.Closeable;
1313

bolts-tasks/src/main/java/bolts/CancellationTokenSource.java bolts-tasks/src/main/java/com/anchorfree/bolts/CancellationTokenSource.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
*/
10-
package bolts;
10+
package com.anchorfree.bolts;
1111

1212
import java.io.Closeable;
1313
import java.util.ArrayList;

bolts-tasks/src/main/java/bolts/Capture.java bolts-tasks/src/main/java/com/anchorfree/bolts/Capture.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
*/
10-
package bolts;
10+
package com.anchorfree.bolts;
1111

1212
/**
1313
* Provides a class that can be used for capturing variables in an anonymous class implementation.

bolts-tasks/src/main/java/bolts/Continuation.java bolts-tasks/src/main/java/com/anchorfree/bolts/Continuation.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
*/
10-
package bolts;
10+
package com.anchorfree.bolts;
1111

1212
/**
1313
* A function to be called after a task completes.

bolts-tasks/src/main/java/bolts/ExecutorException.java bolts-tasks/src/main/java/com/anchorfree/bolts/ExecutorException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package bolts;
1+
package com.anchorfree.bolts;
22

33
/**
44
* This is a wrapper class for emphasizing that task failed due to bad {@code Executor}, rather than

0 commit comments

Comments
 (0)