Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Merge from upstream + expose more functions + build files refactoration #9

Merged
merged 30 commits into from
Dec 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
762e3a1
Add Preference#setVisible stub
arkon Jul 10, 2023
76351ec
Increase compile/target SDK
arkon Aug 26, 2023
ad582d4
chore: Suppress unused warnings
Claudemirovsky Nov 27, 2023
6f4e156
feat: Add replacement suspend functions in AnimeSource interface
arkon Sep 3, 2023
e1d4fbd
Add support to kotlin.time APIs in the rate limit interceptor (#10)
alessandrojean Aug 4, 2023
bb6443d
feat: Expose more suspend functions
Claudemirovsky Nov 28, 2023
858521d
chore: Rename UpdateStrategy to AnimeUpdateStrategy
Claudemirovsky Nov 28, 2023
353bdf8
Make source ID generation function reusable to extensions (#11)
alessandrojean Aug 12, 2023
bad6dcf
Share HttpException from the app with the extensions-lib. (#12)
alessandrojean Aug 19, 2023
1587f70
chore: Bump Jsoup version
Claudemirovsky Nov 28, 2023
2eea64e
chore!: Update gradle wrapper
Claudemirovsky Dec 16, 2023
8d772d6
refactor: Convert groovy files to kotlin
Claudemirovsky Dec 16, 2023
37403e9
chore: Bump AGP
Claudemirovsky Dec 16, 2023
1e4b18d
refactor: Use version catalog
Claudemirovsky Dec 16, 2023
338d092
chore: Bump kotlin version
Claudemirovsky Dec 16, 2023
17db557
fix: Fix jvmTarget incompatibility
Claudemirovsky Dec 16, 2023
bbc5868
chore: Bump Dokka
Claudemirovsky Dec 16, 2023
73e86ae
feat: Add ResolvableAnimeSource interface
Claudemirovsky Dec 16, 2023
8642b9c
chore: Add deprecated annotation to NetworkHelper.cloudflareClient val
Claudemirovsky Dec 16, 2023
30df299
feat: Expose NetworkHelper.defaultUserAgentProvider function
Claudemirovsky Dec 16, 2023
52c58be
feat: Add parallelCatchingFlatMap util & remove rarely-used coroutine…
Claudemirovsky Dec 16, 2023
74b5921
docs: Document utility methods
Claudemirovsky Dec 16, 2023
ba3f637
feat: Make coroutine extensions non-blocking
Claudemirovsky Dec 16, 2023
ebfa4e8
feat: Expose Call.awaitSuccess extension function
Claudemirovsky Dec 16, 2023
8a18b32
chore(CI): Bump actions versions
Claudemirovsky Dec 16, 2023
0bd994b
refactor: Reorder function modifiers in CoroutinesExtensions
Claudemirovsky Dec 16, 2023
b8ef44f
fix: Fix maven publishing
Claudemirovsky Dec 16, 2023
828f03b
feat(coroutines): Add thread-blocking counterparts to parallel functions
Claudemirovsky Dec 17, 2023
8ca37c5
feat: Expose ConfigurableAnimeSource.getSourcePreferences
Claudemirovsky Dec 17, 2023
2a0cef3
docs: Minor fixes
Claudemirovsky Dec 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 11
distribution: adopt
java-version: 17
distribution: zulu

- name: Build documentation
run: ./gradlew :library:dokkaHtml
Expand Down
2 changes: 1 addition & 1 deletion .jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
jdk:
- openjdk11
- openjdk17
install:
- ./gradlew build :library:publishToMavenLocal
32 changes: 0 additions & 32 deletions build.gradle

This file was deleted.

11 changes: 11 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

plugins {
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.dokka) apply false
}

tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}
23 changes: 23 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[versions]
agp_version = "8.2.0"
coroutines_version = "1.7.1"
kotlin_version = "1.9.21"
serialization_version = "1.5.1"
dokka_version = "1.9.10"

[libraries]
coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines_version" }

kotlin-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "serialization_version" }
kotlin-json-okio = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json-okio", version.ref = "serialization_version" }

injekt-core = { module = "com.github.inorichi.injekt:injekt-core", version = "65b0440" }
jsoup = { module = "org.jsoup:jsoup", version = "1.16.1" }
okhttp = { module = "com.squareup.okhttp3:okhttp", version = "5.0.0-alpha.11" }
rxandroid = { module = "io.reactivex:rxandroid", version = "1.2.1" }
rxjava = { module = "io.reactivex:rxjava", version = "1.3.8" }

[plugins]
android-library = { id = "com.android.library", version.ref = "agp_version" }
dokka = { id = "org.jetbrains.dokka", version.ref = "dokka_version" }
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin_version" }
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading