Skip to content

Commit e0ab117

Browse files
committed
Merge branch 'release/5.39.0'
2 parents 4657430 + 4d877ee commit e0ab117

File tree

341 files changed

+20395
-13194
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

341 files changed

+20395
-13194
lines changed

app/CMakeLists.txt

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,6 @@ cmake_minimum_required(VERSION 3.4.1)
1010
# You can define multiple libraries, and CMake builds them for you.
1111
# Gradle automatically packages shared libraries with your APK.
1212

13-
add_library( # Sets the name of the library.
14-
adblockclient-lib
15-
16-
# Sets the library as a shared library.
17-
SHARED
18-
19-
# Provides a relative path to your source file(s).
20-
src/main/cpp/adblockclient-lib.cpp
21-
src/main/cpp/third-party/ad-block/ad_block_client.cc
22-
src/main/cpp/third-party/ad-block/cosmetic_filter.cc
23-
src/main/cpp/third-party/ad-block/filter.cc
24-
src/main/cpp/third-party/bloom-filter-cpp/BloomFilter.cpp
25-
src/main/cpp/third-party/bloom-filter-cpp/hashFn.cpp
26-
src/main/cpp/third-party/hashset-cpp/HashSet.cpp
27-
)
28-
2913
add_library( # Sets the name of the library.
3014
https-bloom-lib
3115

@@ -48,15 +32,4 @@ find_library( # Sets the name of the path variable.
4832

4933
# Specifies the name of the NDK library that
5034
# you want CMake to locate.
51-
log)
52-
53-
# Specifies libraries CMake should link to your target library. You
54-
# can link multiple libraries, such as libraries you define in this
55-
# build script, prebuilt third-party libraries, or system libraries.
56-
57-
target_link_libraries( # Specifies the target library.
58-
adblockclient-lib
59-
60-
# Links the target library to the log library
61-
# included in the NDK.
62-
${log-lib})
35+
log)

app/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ android {
3131
androidTest.resources.srcDirs += files("$projectDir/../submodules/".toString())
3232
}
3333
}
34+
compileOptions {
35+
sourceCompatibility = JavaVersion.VERSION_1_8
36+
targetCompatibility = JavaVersion.VERSION_1_8
37+
}
3438
kotlinOptions {
3539
jvmTarget = "1.8"
3640
}
@@ -139,6 +143,7 @@ dependencies {
139143
implementation "com.squareup.retrofit2:retrofit:$retrofit"
140144
implementation "com.squareup.retrofit2:converter-moshi:$retrofit"
141145
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit"
146+
implementation "com.squareup.retrofit2:converter-scalars:$retrofit"
142147
implementation 'com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2'
143148
implementation "io.reactivex.rxjava2:rxjava:$rxJava"
144149
implementation "io.reactivex.rxjava2:rxandroid:$rxAndroid"

0 commit comments

Comments
 (0)