Skip to content

Commit

Permalink
DROID-1881 App | Tech | AGP Update (8.1.4) (anyproto#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
uburoiubu committed Nov 21, 2023
1 parent 47d41af commit 10db9cc
Show file tree
Hide file tree
Showing 42 changed files with 92 additions and 30 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ jobs:
setup-android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: 17

- uses: actions/checkout@master
- name: Setup middleware dependency
env:
token_secret: ${{ secrets.ANYTYPE_SECRET }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/nightly-debug-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ jobs:
setup-android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: 17

- name: Setup middleware dependency
env:
token_secret: ${{ secrets.ANYTYPE_SECRET }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ jobs:
setup-android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: 17

- name: Setup middleware dependency
env:
token_secret: ${{ secrets.ANYTYPE_SECRET }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ jobs:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@master
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: 17

- name: Setup middleware dependency
env:
token_secret: ${{ secrets.ANYTYPE_SECRET }}
Expand Down
1 change: 1 addition & 0 deletions analytics/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ android {
buildConfigField "boolean", "SEND_EVENTS", getProperty('config.enableAnalyticsForDebugBuilds')
}
}
namespace 'com.anytypeio.anytype.analytics'
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion analytics/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<manifest package="com.anytypeio.anytype.analytics" />
<manifest />
9 changes: 7 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,12 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = '1.8'
}

composeOptions {
Expand All @@ -125,6 +129,7 @@ android {
}

ndkVersion "23.2.8568313"
namespace 'com.anytypeio.anytype'
}

kotlin {
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?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.anytypeio.anytype">
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Expand Down
1 change: 1 addition & 0 deletions clipboard/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ android {
buildConfigField ANYTYPE_CLIPBOARD_LABEL_TYPE, ANYTYPE_CLIPBOARD_LABEL, ANYTYPE_CLIPBOARD_LABEL_VALUE
}
}
namespace 'com.anytypeio.anytype.clipboard'
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion clipboard/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<manifest package="com.anytypeio.anytype.clipboard" />
<manifest />
3 changes: 1 addition & 2 deletions core-models/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.anytypeio.anytype.core_models">
<manifest>

</manifest>
1 change: 1 addition & 0 deletions core-ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ android {
viewBinding true
compose true
}
namespace 'com.anytypeio.anytype.core_ui'
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion core-ui/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<manifest package="com.anytypeio.anytype.core_ui" />
<manifest />
1 change: 1 addition & 0 deletions core-utils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ android {
buildFeatures {
viewBinding true
}
namespace 'com.anytypeio.anytype.core_utils'
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion core-utils/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<manifest package="com.anytypeio.anytype.core_utils" />
<manifest />
1 change: 1 addition & 0 deletions crash-reporting/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ android {
}
includeDependenciesReport = true
}
namespace 'com.anytypeio.anytype.crash_reporting'
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion crash-reporting/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.anytypeio.anytype.crash_reporting"/>
<manifest />
4 changes: 4 additions & 0 deletions device/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ dependencies {
testImplementation libs.robolectric

compileOnly libs.javaxInject
}

android {
namespace 'com.anytypeio.anytype.device'
}
2 changes: 1 addition & 1 deletion device/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<manifest package="com.anytypeio.anytype.device" />
<manifest />
4 changes: 4 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ kotlin.code.style=official

kapt.incremental.apt=true
org.gradle.unsafe.configuration-cache=true

android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ appUpdater = { module = "com.github.PLPsiSoft:AndroidAppUpdater", version = "991
[bundles]

[plugins]
application = { id = "com.android.application", version = "7.4.2" }
library = { id = "com.android.library", version = "7.4.2" }
application = { id = "com.android.application", version = "8.1.4" }
library = { id = "com.android.library", version = "8.1.4" }
kotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlinVersion" }
dokka = { id = "org.jetbrains.dokka", version.ref = "kotlinVersion" }
kserialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlinVersion" }
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 4 additions & 0 deletions library-emojifier/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ dependencies {

testImplementation libs.junit
testImplementation libs.kotlinTest
}

android {
namespace 'com.anytypeio.anytype.emojifier'
}
2 changes: 1 addition & 1 deletion library-emojifier/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<manifest package="com.anytypeio.anytype.emojifier" />
<manifest />
1 change: 1 addition & 0 deletions library-page-icon-picker-widget/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ android {
buildFeatures {
viewBinding true
}
namespace 'com.anytypeio.anytype.library_page_icon_picker_widget'
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<manifest package="com.anytypeio.anytype.library_page_icon_picker_widget" />
<manifest />
4 changes: 4 additions & 0 deletions library-syntax-highlighter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@ dependencies {
testImplementation libs.kotlinTest
testImplementation libs.robolectric
testImplementation libs.androidXTestCore
}

android {
namespace 'com.anytypeio.anytype.library_syntax_highlighter'
}
2 changes: 1 addition & 1 deletion library-syntax-highlighter/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<manifest package="com.anytypeio.anytype.library_syntax_highlighter" />
<manifest />
4 changes: 4 additions & 0 deletions middleware/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ dependencies {
testImplementation libs.junit
testImplementation libs.kotlinTest
testImplementation libs.mockitoKotlin
}

android {
namespace 'com.anytypeio.anytype.middleware'
}
2 changes: 1 addition & 1 deletion middleware/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<manifest package="com.anytypeio.anytype.middleware" />
<manifest />
4 changes: 4 additions & 0 deletions persistence/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@ dependencies {
testImplementation libs.robolectric
testImplementation libs.archCoreTesting
testImplementation libs.coroutineTesting
}

android {
namespace 'com.anytypeio.anytype.persistence'
}
2 changes: 1 addition & 1 deletion persistence/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<manifest package="com.anytypeio.anytype.persistence" />
<manifest />
1 change: 1 addition & 0 deletions presentation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ android {
buildConfigField "boolean", "ENABLE_WIDGETS", "false"
buildConfigField "boolean", "ENABLE_VIEWS_MENU", "true"
}
namespace 'com.anytypeio.anytype.presentation'
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion presentation/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<manifest package="com.anytypeio.anytype.presentation" />
<manifest />
4 changes: 4 additions & 0 deletions protocol/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ dependencies {
wire {
protoPath { srcDir 'src/main/proto' }
kotlin {}
}

android {
namespace 'com.anytypeio.anytype.protocol'
}
2 changes: 1 addition & 1 deletion protocol/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<manifest package="com.anytypeio.anytype.protocol">
<manifest>

/
</manifest>
1 change: 1 addition & 0 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ android {
composeOptions {
kotlinCompilerExtensionVersion libs.versions.composeKotlinCompilerVersion.get()
}
namespace 'com.anytypeio.anytype.sample'
}

dependencies {
Expand Down
3 changes: 1 addition & 2 deletions sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?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.anytypeio.anytype.sample">
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Expand Down
4 changes: 4 additions & 0 deletions test/android-utils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@ dependencies {
implementation libs.androidxCore
implementation libs.design
implementation libs.recyclerView
}

android {
namespace 'com.anytypeio.anytype.test_utils'
}
2 changes: 1 addition & 1 deletion test/android-utils/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<manifest package="com.anytypeio.anytype.test_utils" />
<manifest />
1 change: 1 addition & 0 deletions ui-settings/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ android {
composeOptions {
kotlinCompilerExtensionVersion libs.versions.composeKotlinCompilerVersion.get()
}
namespace 'com.anytypeio.anytype.ui_settings'
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion ui-settings/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<manifest package="com.anytypeio.anytype.ui_settings"/>
<manifest />

0 comments on commit 10db9cc

Please sign in to comment.