-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
953 changed files
with
40,132 additions
and
55,309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
language: android | ||
android: | ||
components: | ||
- tools # to get the new `repository-11.xml` | ||
- tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943) | ||
- platform-tools | ||
- build-tools-28.0.2 | ||
- android-27 | ||
- android-28 | ||
- extra-android-m2repository | ||
- extra-google-m2repository | ||
- extra-android-support | ||
- extra-google-google_play_services | ||
jdk: | ||
- oraclejdk8 | ||
|
||
before_cache: | ||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | ||
|
||
cache: | ||
directories: | ||
- $HOME/.gradle/caches/ | ||
- $HOME/.gradle/wrapper/ | ||
- $HOME/.gradle/nodejs/ | ||
- node_modules | ||
|
||
before_install: | ||
- pip install --user codecov | ||
|
||
script: | ||
- travis_wait 40 ./gradlew clean plex-rest-library:jacocoTestReport jacocoTestReportDebug | ||
|
||
after_success: | ||
- codecov | ||
|
||
sudo: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
buildscript { | ||
|
||
ext { | ||
kotlinVersion = "1.2.70" | ||
} | ||
|
||
repositories { | ||
jcenter() | ||
mavenCentral() | ||
google() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:3.1.4' | ||
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.1" | ||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" | ||
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlinVersion" | ||
} | ||
} | ||
|
||
repositories { | ||
jcenter() | ||
mavenCentral() | ||
google() | ||
} | ||
|
||
dependencies { | ||
project(":serenity-common") | ||
project(":serenity-android-common") | ||
project(":subtitle-converter") | ||
project(":plexapp-rest-library") | ||
project(":emby-lib") | ||
project(":serenity-app") | ||
} | ||
|
||
project.ext { | ||
okhttpVersion = "3.8.1" | ||
kotlinVersion = "1.2.70" | ||
androidPriorityJobQueueVersion = "2.0.1" | ||
daggerVersion = "1.2.5" | ||
eventBus = "3.1.1" | ||
moshiKotlinVersion = "1.6.0" | ||
retrofitVersion = "2.4.0" | ||
jodaTimeVersion = "2.9.9.4" | ||
timberVersion = "4.7.1" | ||
exoplayerVersion = "2.8.4" | ||
glideOkHttpVersion = "1.5.0" | ||
moxyVersion = "1.5.3" | ||
glideVersion = "3.8.0" | ||
googleAnalyticsVersion = "16.0.4" | ||
androidSupportLibVersion = "27.1.1" | ||
universalCharDetVersion = "1.0.3" | ||
volleyVersion = "1.0.16" | ||
dpadAwareVersion = "1.0.1" | ||
butterKnifeVersion = "8.8.1" | ||
simpleXmlVersion = "2.7.1" | ||
urlManager = "1.4.0" | ||
|
||
commonsLangVersion = "3.7" | ||
junitVersion = "4.12" | ||
assertjVersion = "3.11.1" | ||
mockitoVersion = "2.21.0" | ||
robolectricVersion = "4.0" | ||
openglApiVersion = "gl1.1-android-2.1_r1" | ||
xmlUnitVersion = "1.3" | ||
assertJAndroidVersion = "1.1.1" | ||
commonsioVersion = "2.6" | ||
jacocoVersion = "0.8.2" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
buildscript { | ||
|
||
repositories { | ||
jcenter() | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" | ||
} | ||
} | ||
|
||
repositories { | ||
google() | ||
maven { | ||
url "maven.google.com" | ||
} | ||
jcenter() | ||
mavenCentral() | ||
flatDir { | ||
dirs 'embylib' | ||
} | ||
} | ||
|
||
apply plugin: 'com.android.library' | ||
apply plugin: 'kotlin-android' | ||
apply plugin: 'kotlin-kapt' | ||
|
||
android { | ||
defaultConfig { | ||
minSdkVersion 21 | ||
targetSdkVersion 28 | ||
} | ||
|
||
compileSdkVersion 28 | ||
buildToolsVersion '28.0.2' | ||
|
||
sourceSets { | ||
main.java.srcDirs += 'src/main/kotlin' | ||
test.java.srcDirs += 'src/test/kotlin' | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion" | ||
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion" | ||
|
||
implementation project(':serenity-common') | ||
implementation project(':serenity-android-common') | ||
|
||
implementation "com.birbit:android-priority-jobqueue:$androidPriorityJobQueueVersion" | ||
implementation "com.squareup.dagger:dagger:$daggerVersion" | ||
kapt "com.squareup.dagger:dagger-compiler:$daggerVersion" | ||
implementation "org.greenrobot:eventbus:$eventBus" | ||
implementation "com.squareup.moshi:moshi-kotlin:$moshiKotlinVersion" | ||
implementation "com.squareup.retrofit2:converter-moshi:$retrofitVersion" | ||
implementation "net.danlew:android.joda:$jodaTimeVersion" | ||
implementation "com.squareup.retrofit2:retrofit:$retrofitVersion" | ||
implementation "com.squareup.okhttp3:okhttp:$okhttpVersion" | ||
implementation "com.squareup.okhttp3:logging-interceptor:$okhttpVersion" | ||
implementation "me.jessyan:retrofit-url-manager:$urlManager" | ||
implementation "com.jakewharton.timber:timber:$timberVersion" | ||
implementation "com.github.nisrulz:easydeviceinfo-base:2.4.1" | ||
implementation "com.github.nisrulz:easydeviceinfo-common:2.4.1" | ||
|
||
testImplementation "junit:junit:$junitVersion" | ||
testImplementation "org.assertj:assertj-core:$assertjVersion" | ||
testImplementation "org.mockito:mockito-core:$mockitoVersion" | ||
kaptTest "com.squareup.dagger:dagger-compiler:$daggerVersion" | ||
testImplementation("org.robolectric:robolectric:$robolectricVersion") { | ||
exclude module: 'support-v4' | ||
} | ||
testImplementation "org.robolectric:shadows-supportv4:$robolectricVersion" | ||
testImplementation "org.robolectric:shadows-framework:$robolectricVersion" | ||
testImplementation "org.robolectric:shadowapi:$robolectricVersion" | ||
testImplementation "org.robolectric:shadows-playservices:$robolectricVersion" | ||
testImplementation "org.khronos:opengl-api:$openglApiVersion" | ||
} | ||
|
||
sourceCompatibility = "1.8" | ||
targetCompatibility = "1.7" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="us.nineworlds.serenity.emby" | ||
android:versionCode="1" | ||
android:versionName="1.0"> | ||
|
||
</manifest> |
17 changes: 17 additions & 0 deletions
17
emby-lib/src/main/java/us/nineworlds/serenity/emby/model/AbstractCrew.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package us.nineworlds.serenity.emby.model; | ||
|
||
import us.nineworlds.serenity.common.media.model.ICrew; | ||
|
||
public abstract class AbstractCrew implements ICrew { | ||
|
||
private String tag; | ||
|
||
@Override public String getTag() { | ||
return tag; | ||
} | ||
|
||
@Override public void setTag(String tag) { | ||
this.tag = tag; | ||
} | ||
|
||
} |
16 changes: 16 additions & 0 deletions
16
emby-lib/src/main/java/us/nineworlds/serenity/emby/model/AbstractEmbyObject.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package us.nineworlds.serenity.emby.model; | ||
|
||
import us.nineworlds.serenity.common.media.model.ClientObject; | ||
|
||
public abstract class AbstractEmbyObject implements ClientObject { | ||
|
||
private String key; | ||
|
||
@Override public String getKey() { | ||
return key; | ||
} | ||
|
||
@Override public void setKey(String key) { | ||
this.key = key; | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
emby-lib/src/main/java/us/nineworlds/serenity/emby/model/Country.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package us.nineworlds.serenity.emby.model; | ||
|
||
import us.nineworlds.serenity.common.media.model.ICountry; | ||
|
||
public class Country extends AbstractCrew implements ICountry { | ||
|
||
} |
7 changes: 7 additions & 0 deletions
7
emby-lib/src/main/java/us/nineworlds/serenity/emby/model/Director.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package us.nineworlds.serenity.emby.model; | ||
|
||
import us.nineworlds.serenity.common.media.model.IDirector; | ||
|
||
public class Director extends AbstractCrew implements IDirector { | ||
|
||
} |
Oops, something went wrong.