Skip to content

Commit 69c16b3

Browse files
committed
// bintray configurations changed
1 parent f8d757d commit 69c16b3

26 files changed

Lines changed: 88 additions & 103 deletions

File tree

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies {
2727
implementation 'com.android.support:appcompat-v7:28.0.0'
2828
implementation 'com.android.support:design:28.0.0'
2929

30-
implementation project(':appusagelib')
30+
implementation project(':appusagemonitor')
3131
implementation 'com.squareup.picasso:picasso:2.71828'
3232

3333
implementation 'com.github.bumptech.glide:glide:4.9.0'

app/src/main/java/com/example/appusage/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public void getUsageData(List<AppData> usageData, long mTotalUsage, int duration
7777
} else {
7878
mRecycler.setVisibility(View.GONE);
7979
tvUsageStatus.setVisibility(View.VISIBLE);
80-
tvUsageStatus.setText(getResources().getString(R.string.not_active) + Duration.getCurrentReableDay(duration));
80+
tvUsageStatus.setText(getResources().getString(R.string.not_active) + Duration.getCurrentReadableDay(duration));
8181
}
8282
}
8383

appusagelib/build.gradle

Lines changed: 0 additions & 34 deletions
This file was deleted.

appusagelib/proguard-rules.pro

Lines changed: 0 additions & 21 deletions
This file was deleted.

appusagelib/src/androidTest/java/bot/box/appusage/ExampleInstrumentedTest.java

Lines changed: 0 additions & 26 deletions
This file was deleted.

appusagelib/src/test/java/bot/box/appusage/ExampleUnitTest.java

Lines changed: 0 additions & 17 deletions
This file was deleted.

appusagemonitor/build.gradle

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
apply plugin: 'com.android.library'
2+
3+
android {
4+
compileSdkVersion 28
5+
6+
7+
8+
defaultConfig {
9+
minSdkVersion 21
10+
targetSdkVersion 28
11+
versionCode 1
12+
versionName "1.0"
13+
14+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
15+
16+
}
17+
18+
buildTypes {
19+
release {
20+
minifyEnabled false
21+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
22+
}
23+
}
24+
compileOptions {
25+
sourceCompatibility = '1.8'
26+
targetCompatibility = '1.8'
27+
}
28+
29+
}
30+
31+
dependencies {
32+
implementation fileTree(dir: 'libs', include: ['*.jar'])
33+
implementation 'com.android.support:appcompat-v7:28.0.0'
34+
}
35+
ext {
36+
37+
bintrayRepo = 'maven'
38+
bintrayName = 'appusagemonitor'
39+
40+
publishedGroupId = 'the.bot.box'
41+
libraryName = 'appusagemonitor'
42+
artifact = 'appusagemonitor'
43+
44+
libraryDescription = 'Library for fetching usage stats of applications in an android device.'
45+
46+
siteUrl = 'https://github.com/TheBotBox/AppsUsageMonitorAPI'
47+
gitUrl = 'https://github.com/TheBotBox/AppsUsageMonitorAPI.git'
48+
49+
libraryVersion = '1.0.0'
50+
51+
developerId = 'boxbotbarry'
52+
developerName = 'Barry Allen'
53+
developerEmail = 'boxforbot@gmail.com'
54+
organization =''
55+
56+
licenseName = 'The Apache Software License, Version 2.0'
57+
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
58+
allLicenses = ["Apache-2.0"]
59+
}
60+
61+
apply from: 'https://raw.githubusercontent.com/quangctkm9207/template-files/master/android/gradle/install.gradle'
62+
apply from: 'https://raw.githubusercontent.com/quangctkm9207/template-files/master/android/gradle/bintray.gradle'
63+
File renamed without changes.

appusagelib/src/main/java/bot/box/appusage/BotMonitor.java renamed to appusagemonitor/src/main/java/bot/box/appusage/BotMonitor.java

File renamed without changes.

appusagelib/src/main/java/bot/box/appusage/contract/BaseView.java renamed to appusagemonitor/src/main/java/bot/box/appusage/contract/BaseView.java

File renamed without changes.

0 commit comments

Comments
 (0)