Skip to content

Commit

Permalink
Project-wide updates.
Browse files Browse the repository at this point in the history
- Remove Kotlin Synthetics, use ViewBinding instead
- Update all dependencies to latest versions
- Remove obsolete and deprecated dependencies
- Update some tests
- Update to AGP 8.0
- Update target and compile API to 33
- Clean up lint issues
- Clean up code analysis issues
- Clean up xml layout files
  • Loading branch information
ccmailchimp committed Apr 29, 2023
1 parent ba00c8d commit 83b2c2c
Show file tree
Hide file tree
Showing 83 changed files with 1,090 additions and 770 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:

stale-issue-message: 'This issue is being marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-issue-label: 'stale'
exempt-issue-labels: 'stale-exempt' # Comma seperated list of labels that should be used to exempt an issue from being marked as stale or being closed
exempt-issue-labels: 'stale-exempt' # Comma separated list of labels that should be used to exempt an issue from being marked as stale or being closed

stale-pr-message: 'This Pull Request is being marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-pr-label: 'stale'
exempt-pr-labels: 'stale-exempt' # Comma seperated list of labels that should be used to exempt a PR from being marked as stale or being closed
exempt-pr-labels: 'stale-exempt' # Comma separated list of labels that should be used to exempt a PR from being marked as stale or being closed

days-before-stale: 30
days-before-close: 5
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ b) You must cause any modified files to carry prominent notices stating that You
c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Any Contribution submitted for inclusion in the Work by You to Mailchimp shall be made under the terms and conditions of the Individual Contributor License Agreement orthe Software Grant and Corporate Contributor License Agreement, as applicable.
5. Submission of Contributions. Any Contribution submitted for inclusion in the Work by You to Mailchimp shall be made under the terms and conditions of the Individual Contributor License Agreement or the Software Grant and Corporate Contributor License Agreement, as applicable.

6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of Mailchimp, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.

Expand Down
21 changes: 11 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,20 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlin_version = '1.3.50'
ext.kotlinx_version = '1.0.2'
ext.work_version = '2.0.1'
ext.retrofit_version = '2.3.0'
ext.nav_version = "2.1.0"
ext {
kotlin_version = '1.8.10'
work_version = '2.8.1'
retrofit_version = '2.9.0'
nav_version = '2.5.3'
}

repositories {
google()
jcenter()

mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:3.5.2'
classpath 'com.android.tools.build:gradle:8.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -35,8 +37,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()

mavenCentral()
}
}

Expand Down
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ android.useAndroidX=true
android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=true
android.nonFinalResIds=true
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
15 changes: 2 additions & 13 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
#
# Licensed under the Mailchimp Mobile SDK License Agreement (the "License");
# you may not use this file except in compliance with the License. Unless
# required by applicable law or agreed to in writing, software distributed
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
# OR CONDITIONS OF ANY KIND, either or express or implied.
#
# See the License for the specific language governing permissions and
# limitations under the License.
#

#Tue Aug 27 14:32:24 EDT 2019
#Fri Apr 28 11:17:32 MDT 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
Loading

0 comments on commit 83b2c2c

Please sign in to comment.