This repository was archived by the owner on Jan 4, 2021. It is now read-only.
File tree 3 files changed +9
-4
lines changed
src/main/java/com/xda/one/ui
3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.application'
2
2
apply plugin : ' crashlytics'
3
- // apply plugin : 'newrelic'
3
+ apply plugin : ' newrelic'
4
4
5
5
android {
6
6
compileSdkVersion 21
@@ -59,7 +59,7 @@ dependencies {
59
59
compile ' com.google.android.gms:play-services-plus:6.5.+'
60
60
compile ' com.google.android.gms:play-services-identity:6.5.+'
61
61
62
- // compile 'com.crashlytics.android:crashlytics:1.+'
62
+ compile ' com.crashlytics.android:crashlytics:1.+'
63
63
64
64
compile ' com.android.support:support-v4:21.0.3'
65
65
compile ' com.android.support:appcompat-v7:21.0.3'
@@ -85,7 +85,7 @@ dependencies {
85
85
compile ' org.apache.commons:commons-lang3:3.3.2'
86
86
compile ' commons-io:commons-io:2.4'
87
87
88
- // compile 'com.newrelic.agent.android:android-agent:4.+'
88
+ compile ' com.newrelic.agent.android:android-agent:4.+'
89
89
90
90
compile fileTree(dir : ' libs' , include : ' *.jar' )
91
91
}
Original file line number Diff line number Diff line change 27
27
import android .view .View ;
28
28
import android .widget .Toast ;
29
29
30
+ // Add New Relic Reporting
31
+ // import com.newrelic.agent.android.NewRelic;
32
+
30
33
public class MainActivity extends BaseActivity
31
34
implements NavigationDrawerFragment .Callback , SubscribedPagerFragment .Callback ,
32
35
ThreadFragment .Callback , PostPagerFragment .Callback , SearchFragment .Callback {
@@ -45,6 +48,7 @@ public class MainActivity extends BaseActivity
45
48
46
49
@ Override
47
50
public void onCreate (final Bundle bundle ) {
51
+ // Add New Relic Reporting
48
52
/*NewRelic.withApplicationToken(
49
53
"AA31aa88f94b9a9db9fba799fdb1112f100438c79f"
50
54
).start(getApplication());*/
Original file line number Diff line number Diff line change @@ -9,12 +9,13 @@ buildscript {
9
9
dependencies {
10
10
classpath ' com.android.tools.build:gradle:1.0.0'
11
11
classpath ' com.crashlytics.tools.gradle:crashlytics-gradle:1.+'
12
- // classpath 'com.newrelic.agent.android:agent-gradle-plugin:4.+'
12
+ classpath ' com.newrelic.agent.android:agent-gradle-plugin:4.+'
13
13
}
14
14
}
15
15
16
16
allprojects {
17
17
repositories {
18
+ mavenCentral()
18
19
jcenter()
19
20
maven {
20
21
url " http://repo.pageturner-reader.org"
You can’t perform that action at this time.
0 commit comments