proper Timber integration
updated some deps
This commit is contained in:
@@ -39,7 +39,7 @@ apply plugin: 'com.github.ben-manes.versions'
|
|||||||
apply plugin: 'com.neenbedankt.android-apt'
|
apply plugin: 'com.neenbedankt.android-apt'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven { url "https://jitpack.io" }
|
maven { url "https://jitpack.io" }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -85,7 +85,7 @@ dependencies {
|
|||||||
compile 'com.github.LED-Freaks:HoloColorPicker:master-SNAPSHOT'
|
compile 'com.github.LED-Freaks:HoloColorPicker:master-SNAPSHOT'
|
||||||
compile 'com.google.guava:guava:19.0'
|
compile 'com.google.guava:guava:19.0'
|
||||||
compile 'com.thetransactioncompany:jsonrpc2-base:1.38'
|
compile 'com.thetransactioncompany:jsonrpc2-base:1.38'
|
||||||
compile('com.mikepenz:materialdrawer:5.2.2@aar') {
|
compile('com.mikepenz:materialdrawer:5.2.6@aar') {
|
||||||
transitive = true
|
transitive = true
|
||||||
}
|
}
|
||||||
provided 'org.projectlombok:lombok:1.16.8'
|
provided 'org.projectlombok:lombok:1.16.8'
|
||||||
|
@@ -107,7 +107,10 @@ public class ColorActivity extends AppCompatActivity implements Drawer.OnDrawerI
|
|||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
setContentView(R.layout.activity_color);
|
setContentView(R.layout.activity_color);
|
||||||
ButterKnife.bind(this);
|
ButterKnife.bind(this);
|
||||||
Timber.asTree();
|
|
||||||
|
if (BuildConfig.DEBUG) {
|
||||||
|
Timber.plant(new Timber.DebugTree());
|
||||||
|
}
|
||||||
|
|
||||||
// check for connectivity
|
// check for connectivity
|
||||||
ConnectivityManager connMgr = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
|
ConnectivityManager connMgr = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
|
||||||
|
Reference in New Issue
Block a user