1549 lines
56 KiB
Diff
1549 lines
56 KiB
Diff
diff --git a/ad-click/ad-click-impl/build.gradle b/ad-click/ad-click-impl/build.gradle
|
|
index 6ad090e5f..ba40ee4a3 100644
|
|
--- a/ad-click/ad-click-impl/build.gradle
|
|
+++ b/ad-click/ad-click-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
android {
|
|
anvil {
|
|
generateDaggerFactories = true // default is false
|
|
@@ -93,4 +98,4 @@ dependencies {
|
|
testImplementation Testing.robolectric
|
|
|
|
testImplementation project(path: ':common-test')
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/ad-click/ad-click-store/build.gradle b/ad-click/ad-click-store/build.gradle
|
|
index 6e316a4a6..459044b4b 100644
|
|
--- a/ad-click/ad-click-store/build.gradle
|
|
+++ b/ad-click/ad-click-store/build.gradle
|
|
@@ -22,6 +22,8 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+android.namespace = "com.duckduckgo.adclick.store"
|
|
+
|
|
dependencies {
|
|
implementation project(path: ':common-utils')
|
|
implementation project(path: ':ad-click-api')
|
|
@@ -58,4 +60,4 @@ dependencies {
|
|
testImplementation 'app.cash.turbine:turbine:_'
|
|
testImplementation Testing.robolectric
|
|
testImplementation project(path: ':common-test')
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/ad-click/ad-click-store/src/main/AndroidManifest.xml b/ad-click/ad-click-store/src/main/AndroidManifest.xml
|
|
index 9e79cda18..8074ffc9f 100644
|
|
--- a/ad-click/ad-click-store/src/main/AndroidManifest.xml
|
|
+++ b/ad-click/ad-click-store/src/main/AndroidManifest.xml
|
|
@@ -15,7 +15,4 @@
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- package="com.duckduckgo.adclick.store">
|
|
-
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"/>
|
|
diff --git a/anrs/anrs-impl/build.gradle b/anrs/anrs-impl/build.gradle
|
|
index 8abf0db4a..112caaaf9 100644
|
|
--- a/anrs/anrs-impl/build.gradle
|
|
+++ b/anrs/anrs-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
implementation project(':app-build-config-api')
|
|
implementation project(':anrs-api')
|
|
diff --git a/app-tracking-protection/vpn-impl/build.gradle b/app-tracking-protection/vpn-impl/build.gradle
|
|
index cfdbf2a68..e5496e02a 100644
|
|
--- a/app-tracking-protection/vpn-impl/build.gradle
|
|
+++ b/app-tracking-protection/vpn-impl/build.gradle
|
|
@@ -23,7 +23,13 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
android {
|
|
+ namespace = "com.duckduckgo.mobile.android.vpn"
|
|
lintOptions {
|
|
baseline file("lint-baseline.xml")
|
|
}
|
|
@@ -132,4 +138,4 @@ dependencies {
|
|
testImplementation Testing.robolectric
|
|
testImplementation project(':common-test')
|
|
testImplementation project(':vpn-api-test')
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/app-tracking-protection/vpn-impl/src/main/AndroidManifest.xml b/app-tracking-protection/vpn-impl/src/main/AndroidManifest.xml
|
|
index fc9ebbc6d..91c6c81c7 100644
|
|
--- a/app-tracking-protection/vpn-impl/src/main/AndroidManifest.xml
|
|
+++ b/app-tracking-protection/vpn-impl/src/main/AndroidManifest.xml
|
|
@@ -1,6 +1,5 @@
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- package="com.duckduckgo.mobile.android.vpn">
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
@@ -134,4 +133,4 @@
|
|
|
|
</application>
|
|
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+</manifest>
|
|
diff --git a/app-tracking-protection/vpn-internal/build.gradle b/app-tracking-protection/vpn-internal/build.gradle
|
|
index 79a28f03e..10eedfdd2 100644
|
|
--- a/app-tracking-protection/vpn-internal/build.gradle
|
|
+++ b/app-tracking-protection/vpn-internal/build.gradle
|
|
@@ -23,6 +23,7 @@ plugins {
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
android {
|
|
+ namespace = "com.duckduckgo.mobile.android.vpn"
|
|
lintOptions {
|
|
baseline file("lint-baseline.xml")
|
|
}
|
|
@@ -89,4 +90,4 @@ dependencies {
|
|
exclude group: "org.jetbrains.kotlinx", module: "kotlinx-coroutines-debug"
|
|
}
|
|
testImplementation Testing.junit4
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/app-tracking-protection/vpn-internal/src/main/AndroidManifest.xml b/app-tracking-protection/vpn-internal/src/main/AndroidManifest.xml
|
|
index 334cd9396..cefa04a4f 100644
|
|
--- a/app-tracking-protection/vpn-internal/src/main/AndroidManifest.xml
|
|
+++ b/app-tracking-protection/vpn-internal/src/main/AndroidManifest.xml
|
|
@@ -1,6 +1,5 @@
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- package="com.duckduckgo.vpn.internal">
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<application>
|
|
@@ -14,4 +13,4 @@
|
|
|
|
</application>
|
|
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+</manifest>
|
|
diff --git a/app-tracking-protection/vpn-store/build.gradle b/app-tracking-protection/vpn-store/build.gradle
|
|
index 4205d3434..61d290ada 100644
|
|
--- a/app-tracking-protection/vpn-store/build.gradle
|
|
+++ b/app-tracking-protection/vpn-store/build.gradle
|
|
@@ -80,4 +80,6 @@ dependencies {
|
|
testImplementation AndroidX.test.ext.junit
|
|
|
|
androidTestUtil AndroidX.test.orchestrator
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
+
|
|
+kotlin.compilerOptions.freeCompilerArgs = ['-Xjvm-default=all']
|
|
\ No newline at end of file
|
|
diff --git a/app/build.gradle b/app/build.gradle
|
|
index 2c2f0d413..6a35d3108 100644
|
|
--- a/app/build.gradle
|
|
+++ b/app/build.gradle
|
|
@@ -11,7 +11,13 @@ ext {
|
|
CI_HOME_DIR = "${System.getenv('HOME')}/jenkins_static/com.duckduckgo.mobile.android"
|
|
}
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
android {
|
|
+ namespace = "com.duckduckgo.app.browser"
|
|
defaultConfig {
|
|
if (project.hasProperty('internal-testing')) {
|
|
applicationId "com.quackquackgo.mobile"
|
|
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
|
|
index ca4c830b1..87dd5f113 100644
|
|
--- a/app/src/main/AndroidManifest.xml
|
|
+++ b/app/src/main/AndroidManifest.xml
|
|
@@ -1,7 +1,7 @@
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
- package="com.duckduckgo.app.browser">
|
|
+ >
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
diff --git a/app/src/main/java/com/duckduckgo/app/cta/ui/CtaViewModel.kt b/app/src/main/java/com/duckduckgo/app/cta/ui/CtaViewModel.kt
|
|
index beb37d2cc..1ebbf42cc 100644
|
|
--- a/app/src/main/java/com/duckduckgo/app/cta/ui/CtaViewModel.kt
|
|
+++ b/app/src/main/java/com/duckduckgo/app/cta/ui/CtaViewModel.kt
|
|
@@ -49,7 +49,6 @@ import javax.inject.Inject
|
|
import kotlin.coroutines.CoroutineContext
|
|
import kotlinx.coroutines.ExperimentalCoroutinesApi
|
|
import kotlinx.coroutines.FlowPreview
|
|
-import kotlinx.coroutines.channels.ConflatedBroadcastChannel
|
|
import kotlinx.coroutines.flow.*
|
|
import kotlinx.coroutines.withContext
|
|
import timber.log.Timber
|
|
@@ -76,12 +75,12 @@ class CtaViewModel @Inject constructor(
|
|
|
|
@ExperimentalCoroutinesApi
|
|
@VisibleForTesting
|
|
- val isFireButtonPulseAnimationFlowEnabled = ConflatedBroadcastChannel(true)
|
|
+ val isFireButtonPulseAnimationFlowEnabled = MutableStateFlow(true)
|
|
|
|
@FlowPreview
|
|
@ExperimentalCoroutinesApi
|
|
val showFireButtonPulseAnimation: Flow<Boolean> =
|
|
- isFireButtonPulseAnimationFlowEnabled.asFlow()
|
|
+ isFireButtonPulseAnimationFlowEnabled
|
|
.flatMapLatest {
|
|
when (it) {
|
|
true -> getShowFireButtonPulseAnimationFlow()
|
|
@@ -350,7 +349,7 @@ class CtaViewModel @Inject constructor(
|
|
.onEach { (_, forceStopAnimation) ->
|
|
withContext(dispatchers.io()) {
|
|
if (pulseAnimationDisabled()) {
|
|
- isFireButtonPulseAnimationFlowEnabled.send(false)
|
|
+ isFireButtonPulseAnimationFlowEnabled.emit(false)
|
|
}
|
|
if (forceStopAnimation) {
|
|
dismissPulseAnimation()
|
|
diff --git a/app/src/main/java/com/duckduckgo/app/onboarding/ui/page/WelcomePage.kt b/app/src/main/java/com/duckduckgo/app/onboarding/ui/page/WelcomePage.kt
|
|
index 34b9808f1..f9595dc95 100644
|
|
--- a/app/src/main/java/com/duckduckgo/app/onboarding/ui/page/WelcomePage.kt
|
|
+++ b/app/src/main/java/com/duckduckgo/app/onboarding/ui/page/WelcomePage.kt
|
|
@@ -38,7 +38,6 @@ import com.duckduckgo.di.scopes.FragmentScope
|
|
import com.duckduckgo.mobile.android.ui.viewbinding.viewBinding
|
|
import javax.inject.Inject
|
|
import kotlinx.coroutines.ExperimentalCoroutinesApi
|
|
-import kotlinx.coroutines.channels.BroadcastChannel
|
|
import kotlinx.coroutines.flow.*
|
|
import kotlinx.coroutines.launch
|
|
|
|
@@ -68,7 +67,7 @@ class WelcomePage : OnboardingPageFragment(R.layout.content_onboarding_welcome)
|
|
private var welcomeAnimationFinished = false
|
|
|
|
// we use a BroadcastChannel because we don't want to emit the last value upon subscription
|
|
- private val events = BroadcastChannel<WelcomePageView.Event>(1)
|
|
+ private val events = MutableSharedFlow<WelcomePageView.Event>(1)
|
|
|
|
private val welcomePageViewModel: WelcomePageViewModel by lazy {
|
|
ViewModelProvider(this, viewModelFactory).get(WelcomePageViewModel::class.java)
|
|
@@ -87,7 +86,7 @@ class WelcomePage : OnboardingPageFragment(R.layout.content_onboarding_welcome)
|
|
setSkipAnimationListener()
|
|
|
|
lifecycleScope.launch {
|
|
- events.asFlow()
|
|
+ events
|
|
.flatMapLatest { welcomePageViewModel.reduce(it) }
|
|
.collect(::render)
|
|
}
|
|
@@ -116,7 +115,7 @@ class WelcomePage : OnboardingPageFragment(R.layout.content_onboarding_welcome)
|
|
|
|
private fun event(event: WelcomePageView.Event) {
|
|
lifecycleScope.launch {
|
|
- events.send(event)
|
|
+ events.emit(event)
|
|
}
|
|
}
|
|
|
|
diff --git a/autoconsent/autoconsent-impl/build.gradle b/autoconsent/autoconsent-impl/build.gradle
|
|
index 03aa1317b..dfa9be9a2 100644
|
|
--- a/autoconsent/autoconsent-impl/build.gradle
|
|
+++ b/autoconsent/autoconsent-impl/build.gradle
|
|
@@ -22,6 +22,13 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
+android.namespace = "com.duckduckgo.autoconsent.impl"
|
|
+
|
|
dependencies {
|
|
anvil project(path: ':anvil-compiler')
|
|
implementation project(path: ':anvil-annotations')
|
|
@@ -91,4 +98,4 @@ android {
|
|
includeAndroidResources = true
|
|
}
|
|
}
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/autoconsent/autoconsent-impl/src/main/AndroidManifest.xml b/autoconsent/autoconsent-impl/src/main/AndroidManifest.xml
|
|
index 59799ae04..b9acb93b8 100644
|
|
--- a/autoconsent/autoconsent-impl/src/main/AndroidManifest.xml
|
|
+++ b/autoconsent/autoconsent-impl/src/main/AndroidManifest.xml
|
|
@@ -14,8 +14,7 @@
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- package="com.duckduckgo.autoconsent.impl">
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<application android:supportsRtl="true">
|
|
<activity
|
|
android:name=".ui.AutoconsentSettingsActivity"
|
|
@@ -23,4 +22,4 @@
|
|
android:label="@string/autoconsentTitle"
|
|
android:parentActivityName="com.duckduckgo.app.settings.SettingsActivity" />
|
|
</application>
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+</manifest>
|
|
diff --git a/autofill/autofill-impl/build.gradle b/autofill/autofill-impl/build.gradle
|
|
index fc3858c2f..d02e5ac4a 100644
|
|
--- a/autofill/autofill-impl/build.gradle
|
|
+++ b/autofill/autofill-impl/build.gradle
|
|
@@ -22,6 +22,13 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
+android.namespace = "com.duckduckgo.autofill.impl"
|
|
+
|
|
dependencies {
|
|
implementation project(path: ':app-build-config-api')
|
|
implementation project(path: ':privacy-config-api')
|
|
diff --git a/autofill/autofill-impl/src/main/AndroidManifest.xml b/autofill/autofill-impl/src/main/AndroidManifest.xml
|
|
index 8a18ef859..148e24fba 100644
|
|
--- a/autofill/autofill-impl/src/main/AndroidManifest.xml
|
|
+++ b/autofill/autofill-impl/src/main/AndroidManifest.xml
|
|
@@ -14,8 +14,7 @@
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- package="com.duckduckgo.autofill.impl">
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<application>
|
|
<activity
|
|
@@ -26,4 +25,4 @@
|
|
</application>
|
|
|
|
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+</manifest>
|
|
diff --git a/autofill/autofill-store/build.gradle b/autofill/autofill-store/build.gradle
|
|
index 83dfbf3be..5c8f5fd03 100644
|
|
--- a/autofill/autofill-store/build.gradle
|
|
+++ b/autofill/autofill-store/build.gradle
|
|
@@ -55,3 +55,5 @@ android {
|
|
}
|
|
namespace 'com.duckduckgo.autofill.store'
|
|
}
|
|
+
|
|
+kotlin.compilerOptions.freeCompilerArgs = ['-Xjvm-default=all']
|
|
\ No newline at end of file
|
|
diff --git a/build.gradle b/build.gradle
|
|
index b445a8d6a..5b66cf35c 100644
|
|
--- a/build.gradle
|
|
+++ b/build.gradle
|
|
@@ -3,20 +3,20 @@
|
|
buildscript {
|
|
|
|
ext {
|
|
- kotlin_version = '1.8.10'
|
|
spotless = '6.1.2'
|
|
- anvil_version = '2.4.4'
|
|
- gradle_plugin = '7.4.2' // When updating, also update lint_version
|
|
+ anvil_version = '2.4.7'
|
|
+ gradle_plugin = '8.2.0-rc02' // When updating, also update lint_version
|
|
lint_version = '30.4.2' // This value must always be gradle_plugin + 23
|
|
min_sdk = 23
|
|
target_sdk = 33
|
|
- compile_sdk = 33
|
|
+ compile_sdk = 34
|
|
fladle_version = '0.17.4'
|
|
kotlinter_version = '3.12.0'
|
|
dokka_version = '1.8.20'
|
|
}
|
|
|
|
repositories {
|
|
+ mavenLocal()
|
|
google()
|
|
mavenCentral()
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
|
@@ -25,7 +25,7 @@ buildscript {
|
|
classpath "com.android.tools.build:gradle:$gradle_plugin"
|
|
classpath "com.diffplug.spotless:spotless-plugin-gradle:$spotless"
|
|
classpath "com.squareup.anvil:gradle-plugin:$anvil_version"
|
|
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
@@ -40,6 +40,7 @@ plugins {
|
|
|
|
allprojects {
|
|
repositories {
|
|
+ mavenLocal()
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
@@ -148,4 +149,4 @@ fladle {
|
|
}
|
|
}
|
|
|
|
-apply plugin: 'android-reporting'
|
|
\ No newline at end of file
|
|
+apply plugin: 'android-reporting'
|
|
diff --git a/common/common-test/build.gradle b/common/common-test/build.gradle
|
|
index 0d7ec015d..b4ef05e64 100644
|
|
--- a/common/common-test/build.gradle
|
|
+++ b/common/common-test/build.gradle
|
|
@@ -5,6 +5,8 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+android.namespace = "com.duckduckgo.app.test"
|
|
+
|
|
dependencies {
|
|
|
|
// Dependencies for this Module
|
|
@@ -22,4 +24,4 @@ dependencies {
|
|
}
|
|
implementation Testing.junit4
|
|
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/common/common-test/src/main/AndroidManifest.xml b/common/common-test/src/main/AndroidManifest.xml
|
|
index 5ddb1f65b..b271bf909 100644
|
|
--- a/common/common-test/src/main/AndroidManifest.xml
|
|
+++ b/common/common-test/src/main/AndroidManifest.xml
|
|
@@ -15,8 +15,7 @@
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- package="com.duckduckgo.app.test">
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<instrumentation
|
|
android:name="androidx.test.runner.AndroidJUnitRunner"
|
|
@@ -24,4 +23,4 @@
|
|
android:label="Test for common"
|
|
/>
|
|
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+</manifest>
|
|
diff --git a/common/common-ui/build.gradle b/common/common-ui/build.gradle
|
|
index 2de7f9661..b1db0e19a 100644
|
|
--- a/common/common-ui/build.gradle
|
|
+++ b/common/common-ui/build.gradle
|
|
@@ -22,7 +22,13 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
android {
|
|
+ namespace = "com.duckduckgo.mobile.android"
|
|
anvil {
|
|
generateDaggerFactories = true // default is false
|
|
}
|
|
@@ -63,4 +69,4 @@ dependencies {
|
|
testImplementation 'app.cash.turbine:turbine:_'
|
|
testImplementation Testing.robolectric
|
|
testImplementation project(path: ':common-test')
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/common/common-ui/src/main/AndroidManifest.xml b/common/common-ui/src/main/AndroidManifest.xml
|
|
index 3051093c4..69e22b019 100644
|
|
--- a/common/common-ui/src/main/AndroidManifest.xml
|
|
+++ b/common/common-ui/src/main/AndroidManifest.xml
|
|
@@ -14,8 +14,7 @@
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- package="com.duckduckgo.mobile.android">
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<application>
|
|
|
|
@@ -28,4 +27,4 @@
|
|
android:resource="@array/preloaded_fonts" />
|
|
</application>
|
|
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+</manifest>
|
|
diff --git a/common/common-utils/build.gradle b/common/common-utils/build.gradle
|
|
index 85586cccb..4dc293c05 100644
|
|
--- a/common/common-utils/build.gradle
|
|
+++ b/common/common-utils/build.gradle
|
|
@@ -23,7 +23,13 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
android {
|
|
+ namespace = "com.duckduckgo.app.global"
|
|
lintOptions {
|
|
baseline file("lint-baseline.xml")
|
|
}
|
|
diff --git a/common/common-utils/src/main/AndroidManifest.xml b/common/common-utils/src/main/AndroidManifest.xml
|
|
index 918e07788..6c9af1677 100644
|
|
--- a/common/common-utils/src/main/AndroidManifest.xml
|
|
+++ b/common/common-utils/src/main/AndroidManifest.xml
|
|
@@ -15,8 +15,7 @@
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- package="com.duckduckgo.app.global">
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<instrumentation
|
|
android:name="androidx.test.runner.AndroidJUnitRunner"
|
|
@@ -24,4 +23,4 @@
|
|
android:label="Test for common"
|
|
/>
|
|
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+</manifest>
|
|
diff --git a/content-scope-scripts/content-scope-scripts-api/build.gradle b/content-scope-scripts/content-scope-scripts-api/build.gradle
|
|
index 459fc8431..dc1339589 100644
|
|
--- a/content-scope-scripts/content-scope-scripts-api/build.gradle
|
|
+++ b/content-scope-scripts/content-scope-scripts-api/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
implementation project(':di')
|
|
implementation project(':common-utils')
|
|
diff --git a/content-scope-scripts/content-scope-scripts-impl/build.gradle b/content-scope-scripts/content-scope-scripts-impl/build.gradle
|
|
index 867b248c1..0ea87708d 100644
|
|
--- a/content-scope-scripts/content-scope-scripts-impl/build.gradle
|
|
+++ b/content-scope-scripts/content-scope-scripts-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
implementation project(':di')
|
|
implementation project(':common-utils')
|
|
diff --git a/cookies/cookies-api/build.gradle b/cookies/cookies-api/build.gradle
|
|
index 985d3c834..3e80e0c72 100644
|
|
--- a/cookies/cookies-api/build.gradle
|
|
+++ b/cookies/cookies-api/build.gradle
|
|
@@ -28,6 +28,11 @@ dependencies {
|
|
implementation AndroidX.core.ktx
|
|
}
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
android {
|
|
namespace 'com.duckduckgo.cookies.api'
|
|
}
|
|
diff --git a/cookies/cookies-impl/build.gradle b/cookies/cookies-impl/build.gradle
|
|
index d65fbf432..5d1a0ea81 100644
|
|
--- a/cookies/cookies-impl/build.gradle
|
|
+++ b/cookies/cookies-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
anvil project(':anvil-compiler')
|
|
implementation project(':anvil-annotations')
|
|
@@ -81,4 +86,4 @@ android {
|
|
}
|
|
}
|
|
namespace 'com.duckduckgo.cookies.impl'
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/cookies/cookies-store/build.gradle b/cookies/cookies-store/build.gradle
|
|
index 431026403..2336bb2bb 100644
|
|
--- a/cookies/cookies-store/build.gradle
|
|
+++ b/cookies/cookies-store/build.gradle
|
|
@@ -58,3 +58,5 @@ dependencies {
|
|
android {
|
|
namespace 'com.duckduckgo.cookies.store'
|
|
}
|
|
+
|
|
+kotlin.compilerOptions.freeCompilerArgs = ['-Xjvm-default=all']
|
|
\ No newline at end of file
|
|
diff --git a/device-auth/device-auth-impl/build.gradle b/device-auth/device-auth-impl/build.gradle
|
|
index 32920e289..f017c0e71 100644
|
|
--- a/device-auth/device-auth-impl/build.gradle
|
|
+++ b/device-auth/device-auth-impl/build.gradle
|
|
@@ -23,6 +23,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
implementation project(path: ':app-build-config-api')
|
|
implementation project(path: ':device-auth-api')
|
|
@@ -46,4 +51,4 @@ android {
|
|
}
|
|
}
|
|
namespace 'com.duckduckgo.deviceauth.impl'
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/di/build.gradle b/di/build.gradle
|
|
index 2643fecda..75d368838 100644
|
|
--- a/di/build.gradle
|
|
+++ b/di/build.gradle
|
|
@@ -29,6 +29,11 @@ android {
|
|
namespace 'com.duckduckgo.di'
|
|
}
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
implementation Kotlin.stdlib.jdk7
|
|
implementation AndroidX.fragment.ktx
|
|
diff --git a/downloads/downloads-impl/build.gradle b/downloads/downloads-impl/build.gradle
|
|
index 3256725cc..3d927a7dc 100644
|
|
--- a/downloads/downloads-impl/build.gradle
|
|
+++ b/downloads/downloads-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
android {
|
|
anvil {
|
|
generateDaggerFactories = true // default is false
|
|
@@ -87,4 +92,4 @@ dependencies {
|
|
testImplementation 'app.cash.turbine:turbine:_'
|
|
testImplementation Testing.robolectric
|
|
testImplementation project(path: ':common-test')
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/element-hiding/element-hiding-impl/build.gradle b/element-hiding/element-hiding-impl/build.gradle
|
|
index b28604bd8..f996184ef 100644
|
|
--- a/element-hiding/element-hiding-impl/build.gradle
|
|
+++ b/element-hiding/element-hiding-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
android {
|
|
anvil {
|
|
generateDaggerFactories = true // default is false
|
|
@@ -89,4 +94,4 @@ dependencies {
|
|
testImplementation Testing.robolectric
|
|
|
|
testImplementation project(path: ':common-test')
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/element-hiding/element-hiding-store/build.gradle b/element-hiding/element-hiding-store/build.gradle
|
|
index 136b0011a..d5907c9f4 100644
|
|
--- a/element-hiding/element-hiding-store/build.gradle
|
|
+++ b/element-hiding/element-hiding-store/build.gradle
|
|
@@ -22,6 +22,8 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+android.namespace = "com.duckduckgo.elementhiding.store"
|
|
+
|
|
dependencies {
|
|
implementation project(path: ':common-utils')
|
|
implementation Kotlin.stdlib.jdk7
|
|
@@ -54,4 +56,4 @@ dependencies {
|
|
testImplementation 'app.cash.turbine:turbine:_'
|
|
testImplementation Testing.robolectric
|
|
testImplementation project(path: ':common-test')
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/element-hiding/element-hiding-store/src/main/AndroidManifest.xml b/element-hiding/element-hiding-store/src/main/AndroidManifest.xml
|
|
index 58f99753e..8074ffc9f 100644
|
|
--- a/element-hiding/element-hiding-store/src/main/AndroidManifest.xml
|
|
+++ b/element-hiding/element-hiding-store/src/main/AndroidManifest.xml
|
|
@@ -15,7 +15,4 @@
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- package="com.duckduckgo.elementhiding.store">
|
|
-
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"/>
|
|
diff --git a/feature-toggles/feature-toggles-impl/build.gradle b/feature-toggles/feature-toggles-impl/build.gradle
|
|
index 226b11a26..c1ede781a 100644
|
|
--- a/feature-toggles/feature-toggles-impl/build.gradle
|
|
+++ b/feature-toggles/feature-toggles-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
anvil project(':anvil-compiler')
|
|
implementation project(':anvil-annotations')
|
|
diff --git a/fingerprint-protection/fingerprint-protection-impl/build.gradle b/fingerprint-protection/fingerprint-protection-impl/build.gradle
|
|
index 3a128c496..1225d8b83 100644
|
|
--- a/fingerprint-protection/fingerprint-protection-impl/build.gradle
|
|
+++ b/fingerprint-protection/fingerprint-protection-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
android {
|
|
anvil {
|
|
generateDaggerFactories = true // default is false
|
|
@@ -94,4 +99,4 @@ dependencies {
|
|
testImplementation Testing.robolectric
|
|
|
|
testImplementation project(path: ':common-test')
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/fingerprint-protection/fingerprint-protection-store/build.gradle b/fingerprint-protection/fingerprint-protection-store/build.gradle
|
|
index 7d4c939e3..29749aa51 100644
|
|
--- a/fingerprint-protection/fingerprint-protection-store/build.gradle
|
|
+++ b/fingerprint-protection/fingerprint-protection-store/build.gradle
|
|
@@ -22,6 +22,8 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+android.namespace = "com.duckduckgo.fingerprintprotection.store"
|
|
+
|
|
dependencies {
|
|
implementation project(path: ':common-utils')
|
|
implementation project(path: ':fingerprint-protection-api')
|
|
@@ -58,4 +60,4 @@ dependencies {
|
|
testImplementation 'app.cash.turbine:turbine:_'
|
|
testImplementation Testing.robolectric
|
|
testImplementation project(path: ':common-test')
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/fingerprint-protection/fingerprint-protection-store/src/main/AndroidManifest.xml b/fingerprint-protection/fingerprint-protection-store/src/main/AndroidManifest.xml
|
|
index 917eee29a..311bf3593 100644
|
|
--- a/fingerprint-protection/fingerprint-protection-store/src/main/AndroidManifest.xml
|
|
+++ b/fingerprint-protection/fingerprint-protection-store/src/main/AndroidManifest.xml
|
|
@@ -15,7 +15,4 @@
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- package="com.duckduckgo.fingerprintprotection.store">
|
|
-
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android" />
|
|
diff --git a/gradle.properties b/gradle.properties
|
|
index 530c09b94..193c8d1ad 100644
|
|
--- a/gradle.properties
|
|
+++ b/gradle.properties
|
|
@@ -23,3 +23,4 @@ org.gradle.configureondemand=true
|
|
android.defaults.buildfeatures.buildconfig=true
|
|
android.nonFinalResIds=false
|
|
|
|
+kotlinVersion=2.0.255-SNAPSHOT
|
|
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
|
|
index 70763969c..0cb617059 100644
|
|
--- a/gradle/wrapper/gradle-wrapper.properties
|
|
+++ b/gradle/wrapper/gradle-wrapper.properties
|
|
@@ -1,6 +1,6 @@
|
|
#Fri Apr 29 21:22:50 BST 2022
|
|
distributionBase=GRADLE_USER_HOME
|
|
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
|
|
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
|
|
distributionPath=wrapper/dists
|
|
zipStorePath=wrapper/dists
|
|
zipStoreBase=GRADLE_USER_HOME
|
|
diff --git a/httpsupgrade/httpsupgrade-impl/build.gradle b/httpsupgrade/httpsupgrade-impl/build.gradle
|
|
index 3da7b5c09..15c47c1d7 100644
|
|
--- a/httpsupgrade/httpsupgrade-impl/build.gradle
|
|
+++ b/httpsupgrade/httpsupgrade-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
anvil project(':anvil-compiler')
|
|
implementation project(':anvil-annotations')
|
|
diff --git a/installation/installation-impl/build.gradle b/installation/installation-impl/build.gradle
|
|
index 31e38d832..461ddf802 100644
|
|
--- a/installation/installation-impl/build.gradle
|
|
+++ b/installation/installation-impl/build.gradle
|
|
@@ -23,6 +23,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
anvil project(path: ':anvil-compiler')
|
|
implementation project(path: ':anvil-annotations')
|
|
@@ -56,4 +61,4 @@ android {
|
|
}
|
|
}
|
|
namespace 'com.duckduckgo.installation.impl'
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/macos/macos-impl/build.gradle b/macos/macos-impl/build.gradle
|
|
index 63a9de7f6..4a51bb4c6 100644
|
|
--- a/macos/macos-impl/build.gradle
|
|
+++ b/macos/macos-impl/build.gradle
|
|
@@ -22,6 +22,13 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
+android.namespace = "com.duckduckgo.macos_impl"
|
|
+
|
|
dependencies {
|
|
anvil project(path: ':anvil-compiler')
|
|
implementation project(path: ':anvil-annotations')
|
|
diff --git a/macos/macos-impl/src/main/AndroidManifest.xml b/macos/macos-impl/src/main/AndroidManifest.xml
|
|
index c54d4aa07..65859660d 100644
|
|
--- a/macos/macos-impl/src/main/AndroidManifest.xml
|
|
+++ b/macos/macos-impl/src/main/AndroidManifest.xml
|
|
@@ -14,8 +14,7 @@
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- package="com.duckduckgo.macos_impl">
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<application android:supportsRtl="true">
|
|
<activity
|
|
@@ -27,4 +26,4 @@
|
|
android:name=".MacOsLinkShareBroadcastReceiver"
|
|
android:exported="false" />
|
|
</application>
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+</manifest>
|
|
diff --git a/navigation/navigation-impl/build.gradle b/navigation/navigation-impl/build.gradle
|
|
index 9c0f77efa..bc801493f 100644
|
|
--- a/navigation/navigation-impl/build.gradle
|
|
+++ b/navigation/navigation-impl/build.gradle
|
|
@@ -22,6 +22,12 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
+
|
|
dependencies {
|
|
anvil project(':anvil-compiler')
|
|
|
|
diff --git a/network-protection/network-protection-impl/build.gradle b/network-protection/network-protection-impl/build.gradle
|
|
index 4ab7caa01..38ad079b2 100644
|
|
--- a/network-protection/network-protection-impl/build.gradle
|
|
+++ b/network-protection/network-protection-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
anvil project(':anvil-compiler')
|
|
implementation project(':anvil-annotations')
|
|
@@ -95,4 +100,4 @@ android {
|
|
defaultConfig {
|
|
buildConfigField "String", "NETP_DEBUG_SERVER_TOKEN", "\"${NETP_DEBUG_SERVER_TOKEN}\""
|
|
}
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/network-protection/network-protection-internal/build.gradle b/network-protection/network-protection-internal/build.gradle
|
|
index cacfd8d4f..2ae79ed78 100644
|
|
--- a/network-protection/network-protection-internal/build.gradle
|
|
+++ b/network-protection/network-protection-internal/build.gradle
|
|
@@ -23,6 +23,7 @@ plugins {
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
android {
|
|
+ namespace = "com.duckduckgo.networkprotection.internal"
|
|
lintOptions {
|
|
baseline file("lint-baseline.xml")
|
|
}
|
|
@@ -88,4 +89,4 @@ dependencies {
|
|
exclude group: "org.jetbrains.kotlinx", module: "kotlinx-coroutines-debug"
|
|
}
|
|
testImplementation Testing.junit4
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/network-protection/network-protection-internal/src/main/AndroidManifest.xml b/network-protection/network-protection-internal/src/main/AndroidManifest.xml
|
|
index 2864be38b..245555caf 100644
|
|
--- a/network-protection/network-protection-internal/src/main/AndroidManifest.xml
|
|
+++ b/network-protection/network-protection-internal/src/main/AndroidManifest.xml
|
|
@@ -1,6 +1,5 @@
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
|
|
- package="com.duckduckgo.networkprotection.internal">
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<!-- This is also in the :app module, so it is not a new permission. We add it so that lint doesn't blow -->
|
|
<uses-permission
|
|
@@ -25,4 +24,4 @@
|
|
android:exported="false" />
|
|
</application>
|
|
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+</manifest>
|
|
diff --git a/privacy-config/privacy-config-impl/build.gradle b/privacy-config/privacy-config-impl/build.gradle
|
|
index 992bd47f8..b96814a2a 100644
|
|
--- a/privacy-config/privacy-config-impl/build.gradle
|
|
+++ b/privacy-config/privacy-config-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
anvil project(path: ':anvil-compiler')
|
|
implementation project(path: ':anvil-annotations')
|
|
diff --git a/privacy-config/privacy-config-internal/build.gradle b/privacy-config/privacy-config-internal/build.gradle
|
|
index 77133a6cf..a698d9350 100644
|
|
--- a/privacy-config/privacy-config-internal/build.gradle
|
|
+++ b/privacy-config/privacy-config-internal/build.gradle
|
|
@@ -23,6 +23,7 @@ plugins {
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
android {
|
|
+ namespace = "com.duckduckgo.privacy.config.internal"
|
|
anvil {
|
|
generateDaggerFactories = true // default is false
|
|
}
|
|
@@ -48,4 +49,4 @@ dependencies {
|
|
|
|
// Dagger
|
|
implementation Google.dagger
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/privacy-config/privacy-config-internal/src/main/AndroidManifest.xml b/privacy-config/privacy-config-internal/src/main/AndroidManifest.xml
|
|
index 79e806000..ec94fcb12 100644
|
|
--- a/privacy-config/privacy-config-internal/src/main/AndroidManifest.xml
|
|
+++ b/privacy-config/privacy-config-internal/src/main/AndroidManifest.xml
|
|
@@ -1,9 +1,8 @@
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- package="com.duckduckgo.privacy.config.internal">
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<application>
|
|
<activity android:name="PrivacyConfigInternalSettingsActivity" android:exported="false"/>
|
|
</application>
|
|
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+</manifest>
|
|
diff --git a/privacy-dashboard/privacy-dashboard-impl/build.gradle b/privacy-dashboard/privacy-dashboard-impl/build.gradle
|
|
index fc809ba2b..f64c4144f 100644
|
|
--- a/privacy-dashboard/privacy-dashboard-impl/build.gradle
|
|
+++ b/privacy-dashboard/privacy-dashboard-impl/build.gradle
|
|
@@ -22,6 +22,13 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
+android.namespace = "com.duckduckgo.privacy.dashboard.impl"
|
|
+
|
|
dependencies {
|
|
anvil project(':anvil-compiler')
|
|
implementation project(':anvil-annotations')
|
|
@@ -88,4 +95,4 @@ fulladleModuleConfig {
|
|
|
|
tasks.register('androidTestsBuild') {
|
|
dependsOn 'assembleDebugAndroidTest'
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/privacy-dashboard/privacy-dashboard-impl/src/main/AndroidManifest.xml b/privacy-dashboard/privacy-dashboard-impl/src/main/AndroidManifest.xml
|
|
index 787089a36..8d387592a 100644
|
|
--- a/privacy-dashboard/privacy-dashboard-impl/src/main/AndroidManifest.xml
|
|
+++ b/privacy-dashboard/privacy-dashboard-impl/src/main/AndroidManifest.xml
|
|
@@ -15,8 +15,7 @@
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- package="com.duckduckgo.privacy.dashboard.impl">
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<application>
|
|
<activity
|
|
android:name="com.duckduckgo.privacy.dashboard.impl.ui.PrivacyDashboardHybridActivity"
|
|
@@ -25,4 +24,4 @@
|
|
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"
|
|
android:parentActivityName=".BrowserActivity" />
|
|
</application>
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+</manifest>
|
|
diff --git a/remote-messaging/remote-messaging-impl/build.gradle b/remote-messaging/remote-messaging-impl/build.gradle
|
|
index 058e1d1f4..b96cb6330 100644
|
|
--- a/remote-messaging/remote-messaging-impl/build.gradle
|
|
+++ b/remote-messaging/remote-messaging-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
android {
|
|
lintOptions {
|
|
baseline file("lint-baseline.xml")
|
|
@@ -84,4 +89,4 @@ android {
|
|
}
|
|
}
|
|
namespace 'com.duckduckgo.remote.messaging.impl'
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/request-filterer/request-filterer-api/build.gradle b/request-filterer/request-filterer-api/build.gradle
|
|
index 48cb0b1b9..8719e1c7a 100644
|
|
--- a/request-filterer/request-filterer-api/build.gradle
|
|
+++ b/request-filterer/request-filterer-api/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
implementation Kotlin.stdlib.jdk7
|
|
implementation KotlinX.coroutines.core
|
|
diff --git a/request-filterer/request-filterer-impl/build.gradle b/request-filterer/request-filterer-impl/build.gradle
|
|
index 20126cadf..267b7a0c6 100644
|
|
--- a/request-filterer/request-filterer-impl/build.gradle
|
|
+++ b/request-filterer/request-filterer-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
anvil project(':anvil-compiler')
|
|
implementation project(':anvil-annotations')
|
|
@@ -76,4 +81,4 @@ android {
|
|
}
|
|
}
|
|
namespace 'com.duckduckgo.request.filterer.impl'
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/runtime-checks/runtime-checks-impl/build.gradle b/runtime-checks/runtime-checks-impl/build.gradle
|
|
index 46bd7069a..ac438fcd8 100644
|
|
--- a/runtime-checks/runtime-checks-impl/build.gradle
|
|
+++ b/runtime-checks/runtime-checks-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
android {
|
|
anvil {
|
|
generateDaggerFactories = true // default is false
|
|
@@ -89,4 +94,4 @@ dependencies {
|
|
testImplementation Testing.robolectric
|
|
|
|
testImplementation project(path: ':common-test')
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/runtime-checks/runtime-checks-store/build.gradle b/runtime-checks/runtime-checks-store/build.gradle
|
|
index 2d9ad2e90..50e2d8299 100644
|
|
--- a/runtime-checks/runtime-checks-store/build.gradle
|
|
+++ b/runtime-checks/runtime-checks-store/build.gradle
|
|
@@ -22,6 +22,8 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+android.namespace = "com.duckduckgo.runtimechecks.store"
|
|
+
|
|
dependencies {
|
|
implementation project(path: ':common-utils')
|
|
implementation Kotlin.stdlib.jdk7
|
|
@@ -54,4 +56,6 @@ dependencies {
|
|
testImplementation 'app.cash.turbine:turbine:_'
|
|
testImplementation Testing.robolectric
|
|
testImplementation project(path: ':common-test')
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
+
|
|
+kotlin.compilerOptions.freeCompilerArgs = ['-Xjvm-default=all']
|
|
\ No newline at end of file
|
|
diff --git a/runtime-checks/runtime-checks-store/src/main/AndroidManifest.xml b/runtime-checks/runtime-checks-store/src/main/AndroidManifest.xml
|
|
index 0af574d93..75e2ad68e 100644
|
|
--- a/runtime-checks/runtime-checks-store/src/main/AndroidManifest.xml
|
|
+++ b/runtime-checks/runtime-checks-store/src/main/AndroidManifest.xml
|
|
@@ -15,7 +15,4 @@
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- package="com.duckduckgo.runtimechecks.store">
|
|
-
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"/>
|
|
diff --git a/saved-sites/saved-sites-impl/build.gradle b/saved-sites/saved-sites-impl/build.gradle
|
|
index 2d7c9ce22..0a47c8c7f 100644
|
|
--- a/saved-sites/saved-sites-impl/build.gradle
|
|
+++ b/saved-sites/saved-sites-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
implementation project(path: ':di')
|
|
implementation project(path: ':statistics')
|
|
diff --git a/secure-storage/secure-storage-impl/build.gradle b/secure-storage/secure-storage-impl/build.gradle
|
|
index 874368a1d..f02f58f25 100644
|
|
--- a/secure-storage/secure-storage-impl/build.gradle
|
|
+++ b/secure-storage/secure-storage-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
implementation project(path: ':app-build-config-api')
|
|
implementation project(path: ':common-utils')
|
|
@@ -52,4 +57,4 @@ android {
|
|
generateDaggerFactories = true // default is false
|
|
}
|
|
namespace 'com.duckduckgo.securestorage.impl'
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/site-permissions/site-permissions-impl/build.gradle b/site-permissions/site-permissions-impl/build.gradle
|
|
index 83ba767f0..512eb0fdc 100644
|
|
--- a/site-permissions/site-permissions-impl/build.gradle
|
|
+++ b/site-permissions/site-permissions-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
|
|
implementation project(path: ':app-build-config-api')
|
|
@@ -61,4 +66,4 @@ android {
|
|
generateDaggerFactories = true // default is false
|
|
}
|
|
namespace 'com.duckduckgo.site.permissions.impl'
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/statistics/build.gradle b/statistics/build.gradle
|
|
index 17ae6f641..1507cfb26 100644
|
|
--- a/statistics/build.gradle
|
|
+++ b/statistics/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
anvil project(path: ':anvil-compiler')
|
|
|
|
diff --git a/subscriptions/subscriptions-impl/build.gradle b/subscriptions/subscriptions-impl/build.gradle
|
|
index 0bca5288a..0e9f42326 100644
|
|
--- a/subscriptions/subscriptions-impl/build.gradle
|
|
+++ b/subscriptions/subscriptions-impl/build.gradle
|
|
@@ -22,6 +22,8 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+android.namespace = "com.duckduckgo.subscriptions.impl"
|
|
+
|
|
dependencies {
|
|
testImplementation 'junit:junit:4.13.1'
|
|
anvil project(path: ':anvil-compiler')
|
|
@@ -76,4 +78,4 @@ android {
|
|
includeAndroidResources = true
|
|
}
|
|
}
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/subscriptions/subscriptions-impl/src/main/AndroidManifest.xml b/subscriptions/subscriptions-impl/src/main/AndroidManifest.xml
|
|
index 17acd697d..735f972e5 100644
|
|
--- a/subscriptions/subscriptions-impl/src/main/AndroidManifest.xml
|
|
+++ b/subscriptions/subscriptions-impl/src/main/AndroidManifest.xml
|
|
@@ -14,8 +14,7 @@
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- package="com.duckduckgo.subscriptions.impl">
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<application android:supportsRtl="true">
|
|
<activity
|
|
android:name="com.duckduckgo.subscriptions.impl.SubscriptionsActivity"
|
|
@@ -24,4 +23,4 @@
|
|
android:parentActivityName="com.duckduckgo.app.settings.SettingsActivity"
|
|
android:screenOrientation="portrait" />
|
|
</application>
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+</manifest>
|
|
diff --git a/sync/sync-impl/build.gradle b/sync/sync-impl/build.gradle
|
|
index 7168d7e18..b2e671fda 100644
|
|
--- a/sync/sync-impl/build.gradle
|
|
+++ b/sync/sync-impl/build.gradle
|
|
@@ -22,6 +22,13 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
+android.namespace = "com.duckduckgo.sync.impl"
|
|
+
|
|
dependencies {
|
|
implementation project(path: ':di')
|
|
implementation project(path: ':common-utils')
|
|
diff --git a/sync/sync-impl/src/main/AndroidManifest.xml b/sync/sync-impl/src/main/AndroidManifest.xml
|
|
index 25c4b626f..ea2e8042c 100644
|
|
--- a/sync/sync-impl/src/main/AndroidManifest.xml
|
|
+++ b/sync/sync-impl/src/main/AndroidManifest.xml
|
|
@@ -14,7 +14,7 @@
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
-<manifest package="com.duckduckgo.sync.impl"
|
|
+<manifest
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
@@ -78,4 +78,4 @@
|
|
android:screenOrientation="portrait"
|
|
tools:replace="screenOrientation" />
|
|
</application>
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+</manifest>
|
|
diff --git a/traces/traces-impl/build.gradle b/traces/traces-impl/build.gradle
|
|
index 2c5ab2d63..df95c58c2 100644
|
|
--- a/traces/traces-impl/build.gradle
|
|
+++ b/traces/traces-impl/build.gradle
|
|
@@ -23,6 +23,7 @@ plugins {
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
android {
|
|
+ namespace = "com.duckduckgo.app.traces"
|
|
anvil {
|
|
generateDaggerFactories = true // default is false
|
|
}
|
|
diff --git a/traces/traces-impl/src/main/AndroidManifest.xml b/traces/traces-impl/src/main/AndroidManifest.xml
|
|
index 1d6155ca4..ef5a9e403 100644
|
|
--- a/traces/traces-impl/src/main/AndroidManifest.xml
|
|
+++ b/traces/traces-impl/src/main/AndroidManifest.xml
|
|
@@ -15,8 +15,7 @@
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- package="com.duckduckgo.app.traces">
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<application>
|
|
<provider
|
|
@@ -26,4 +25,4 @@
|
|
android:exported="false" />
|
|
</application>
|
|
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+</manifest>
|
|
diff --git a/versions.properties b/versions.properties
|
|
index aa4e40d93..660ba8d6c 100644
|
|
--- a/versions.properties
|
|
+++ b/versions.properties
|
|
@@ -31,7 +31,7 @@ version.androidx.legacy=1.0.0
|
|
|
|
version.androidx.lifecycle=2.5.1
|
|
|
|
-version.androidx.room=2.5.0
|
|
+version.androidx.room=2.6.0-beta01
|
|
|
|
version.androidx.swiperefreshlayout=1.1.0
|
|
|
|
@@ -75,7 +75,7 @@ version.com.nhaarman.mockitokotlin2..mockito-kotlin=2.2.0
|
|
|
|
version.google.android.material=1.7.0
|
|
|
|
-version.google.dagger=2.46.1
|
|
+version.google.dagger=2.47
|
|
|
|
version.jakewharton.rxrelay2=2.0.0
|
|
|
|
diff --git a/voice-search/voice-search-impl/build.gradle b/voice-search/voice-search-impl/build.gradle
|
|
index 2e0b90d0e..953b4ac87 100644
|
|
--- a/voice-search/voice-search-impl/build.gradle
|
|
+++ b/voice-search/voice-search-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
android {
|
|
lintOptions {
|
|
baseline file("lint-baseline.xml")
|
|
@@ -65,4 +70,4 @@ android {
|
|
generateDaggerFactories = true // default is false
|
|
}
|
|
namespace 'com.duckduckgo.voice.impl'
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/vpn-network/vpn-network-impl/build.gradle b/vpn-network/vpn-network-impl/build.gradle
|
|
index 79b706a03..29f8c72ba 100644
|
|
--- a/vpn-network/vpn-network-impl/build.gradle
|
|
+++ b/vpn-network/vpn-network-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
dependencies {
|
|
anvil project(':anvil-compiler')
|
|
implementation project(':anvil-annotations')
|
|
diff --git a/web-compat/web-compat-impl/build.gradle b/web-compat/web-compat-impl/build.gradle
|
|
index 9c4fb9721..4bc40348f 100644
|
|
--- a/web-compat/web-compat-impl/build.gradle
|
|
+++ b/web-compat/web-compat-impl/build.gradle
|
|
@@ -22,6 +22,11 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
android {
|
|
anvil {
|
|
generateDaggerFactories = true // default is false
|
|
@@ -66,4 +71,4 @@ dependencies {
|
|
testImplementation Testing.junit4
|
|
|
|
testImplementation project(path: ':common-test')
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
diff --git a/web-compat/web-compat-store/build.gradle b/web-compat/web-compat-store/build.gradle
|
|
index 422a3ae7f..879ac9f20 100644
|
|
--- a/web-compat/web-compat-store/build.gradle
|
|
+++ b/web-compat/web-compat-store/build.gradle
|
|
@@ -50,4 +50,6 @@ dependencies {
|
|
testImplementation "org.mockito.kotlin:mockito-kotlin:_"
|
|
testImplementation Testing.junit4
|
|
testImplementation project(path: ':common-test')
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
+
|
|
+kotlin.compilerOptions.freeCompilerArgs = ['-Xjvm-default=all']
|
|
\ No newline at end of file
|
|
diff --git a/windows/windows-impl/build.gradle b/windows/windows-impl/build.gradle
|
|
index 0fc212a9a..ae155bc25 100644
|
|
--- a/windows/windows-impl/build.gradle
|
|
+++ b/windows/windows-impl/build.gradle
|
|
@@ -22,6 +22,13 @@ plugins {
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
+kotlin.compilerOptions {
|
|
+ languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
|
|
+}
|
|
+
|
|
+android.namespace = "com.duckduckgo.windows.impl"
|
|
+
|
|
dependencies {
|
|
anvil project(':anvil-compiler')
|
|
implementation project(':anvil-annotations')
|
|
diff --git a/windows/windows-impl/src/main/AndroidManifest.xml b/windows/windows-impl/src/main/AndroidManifest.xml
|
|
index 1dbe65989..6e68259cb 100644
|
|
--- a/windows/windows-impl/src/main/AndroidManifest.xml
|
|
+++ b/windows/windows-impl/src/main/AndroidManifest.xml
|
|
@@ -14,8 +14,7 @@
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- package="com.duckduckgo.windows.impl">
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<application>
|
|
<activity
|
|
android:name=".ui.WindowsActivity"
|
|
@@ -27,4 +26,4 @@
|
|
android:name=".WindowsLinkShareBroadcastReceiver"
|
|
android:exported="false" />
|
|
</application>
|
|
-</manifest>
|
|
\ No newline at end of file
|
|
+</manifest>
|