Skip to content

Commit

Permalink
Merge pull request #127 from rantianhua/master
Browse files Browse the repository at this point in the history
adapter filedownloader for okdownload
  • Loading branch information
Jacksgong authored Aug 6, 2018
2 parents 8356761 + 5968bda commit 20cd431
Show file tree
Hide file tree
Showing 56 changed files with 7,231 additions and 2 deletions.
34 changes: 34 additions & 0 deletions okdownload-filedownloader/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright (c) 2018 LingoChamp Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

apply plugin: 'com.android.library'

android {
Expand All @@ -17,3 +33,21 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
}
}

dependencies {
testImplementation dep.junit
testImplementation dep.mockito
testImplementation dep.assertj
testImplementation dep.robolectric
testImplementation project(':okdownload')

implementation project(':okdownload')
implementation project(':okhttp')
implementation dep.okhttp3

implementation dep.supportAnnotations

compileOnly dep.findbugsAnnotations
}

apply from: rootProject.file('gradle/gradle-mvn-push.gradle')
20 changes: 20 additions & 0 deletions okdownload-filedownloader/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Copyright (c) 2018 LingoChamp Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

POM_ARTIFACT_ID=filedownloader
POM_NAME=OkDownload-FileDownloader
POM_DESCRIPTION=A seamlessly replce of FileDownloader
POM_PACKAGING=aar
16 changes: 16 additions & 0 deletions okdownload-filedownloader/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
<!--
~ Copyright (c) 2018 LingoChamp Inc.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<manifest
package="cn.dreamtobe.okdownload.filedownloader"/>
Loading

0 comments on commit 20cd431

Please sign in to comment.