-
-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from jarnedemeulemeester/develop
Version 0.2.0
- Loading branch information
Showing
44 changed files
with
2,778 additions
and
462 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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,123 @@ | ||
plugins { | ||
id("com.android.application") | ||
id("kotlin-android") | ||
id("kotlin-parcelize") | ||
id("kotlin-kapt") | ||
id("androidx.navigation.safeargs.kotlin") | ||
id("dagger.hilt.android.plugin") | ||
id("com.mikepenz.aboutlibraries.plugin") | ||
} | ||
|
||
android { | ||
compileSdk = 31 | ||
buildToolsVersion = "31.0.0" | ||
|
||
defaultConfig { | ||
applicationId = "dev.jdtech.jellyfin" | ||
minSdk = 24 | ||
targetSdk = 31 | ||
versionCode = 4 | ||
versionName = "0.2.0" | ||
|
||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
buildTypes { | ||
getByName("debug") { | ||
applicationIdSuffix = ".debug" | ||
} | ||
create("staging") { | ||
initWith(getByName("release")) | ||
applicationIdSuffix = ".staging" | ||
} | ||
getByName("release") { | ||
isMinifyEnabled = true | ||
isShrinkResources = true | ||
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") | ||
} | ||
} | ||
|
||
compileOptions { | ||
isCoreLibraryDesugaringEnabled = true | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} | ||
|
||
kotlinOptions { | ||
jvmTarget = "1.8" | ||
} | ||
|
||
buildFeatures { | ||
dataBinding = true | ||
viewBinding = true | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation("androidx.core:core-ktx:1.6.0") | ||
implementation("androidx.core:core-splashscreen:1.0.0-alpha01") | ||
implementation("androidx.appcompat:appcompat:1.3.1") | ||
|
||
// Material | ||
implementation("com.google.android.material:material:1.4.0") | ||
|
||
// ConstraintLayout | ||
implementation("androidx.constraintlayout:constraintlayout:2.1.0") | ||
|
||
// Navigation | ||
val navigationVersion = "2.3.5" | ||
implementation("androidx.navigation:navigation-fragment-ktx:$navigationVersion") | ||
implementation("androidx.navigation:navigation-ui-ktx:$navigationVersion") | ||
|
||
// RecyclerView | ||
implementation("androidx.recyclerview:recyclerview:1.2.1") | ||
implementation("androidx.recyclerview:recyclerview-selection:1.1.0") | ||
|
||
// Room | ||
val roomVersion = "2.3.0" | ||
implementation("androidx.room:room-runtime:$roomVersion") | ||
kapt("androidx.room:room-compiler:$roomVersion") | ||
implementation("androidx.room:room-ktx:$roomVersion") | ||
|
||
// Preference | ||
val preferenceVersion = "1.1.1" | ||
implementation("androidx.preference:preference-ktx:$preferenceVersion") | ||
|
||
// Jellyfin | ||
val jellyfinVersion = "1.0.3" | ||
implementation("org.jellyfin.sdk:jellyfin-platform-android:$jellyfinVersion") | ||
|
||
// Glide | ||
val glideVersion = "4.12.0" | ||
implementation("com.github.bumptech.glide:glide:$glideVersion") | ||
kapt("com.github.bumptech.glide:compiler:$glideVersion") | ||
|
||
// Hilt | ||
val hiltVersion = "2.38.1" | ||
implementation("com.google.dagger:hilt-android:$hiltVersion") | ||
kapt("com.google.dagger:hilt-compiler:$hiltVersion") | ||
|
||
// ExoPlayer | ||
val exoplayerVersion = "2.15.0" | ||
implementation("com.google.android.exoplayer:exoplayer-core:$exoplayerVersion") | ||
implementation("com.google.android.exoplayer:exoplayer-ui:$exoplayerVersion") | ||
implementation(files("libs/extension-ffmpeg-release.aar")) | ||
|
||
// MPV | ||
implementation(files("libs/libmpv.aar")) | ||
|
||
// Timber | ||
val timberVersion = "5.0.1" | ||
implementation("com.jakewharton.timber:timber:$timberVersion") | ||
|
||
val aboutLibrariesVersion = "8.9.1" | ||
implementation("com.mikepenz:aboutlibraries-core:$aboutLibrariesVersion") | ||
implementation("com.mikepenz:aboutlibraries:$aboutLibrariesVersion") | ||
|
||
// Testing | ||
testImplementation("junit:junit:4.13.2") | ||
androidTestImplementation("androidx.test.ext:junit:1.1.3") | ||
androidTestImplementation("androidx.test.espresso:espresso-core:3.4.0") | ||
|
||
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:1.1.5") | ||
} |
Binary file not shown.
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,11 @@ | ||
### hwdec: try to use hardware decoding | ||
# hwdec=mediacodec-copy | ||
# hwdec-codecs="h264,hevc,mpeg4,mpeg2video,vp8,vp9,av1" | ||
|
||
### tls: allow self signed certificate | ||
# tls-verify=no | ||
# tls-ca-file="" | ||
|
||
### sub: scale subtitles with video | ||
# sub-scale-with-window=no | ||
# sub-use-margins=no |
Binary file not shown.
Oops, something went wrong.