Skip to content
New issue

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

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

Already on GitHub? # to your account

Update kotlin to 1.6.21 #162

Merged
merged 1 commit into from
Aug 14, 2022

Conversation

LachlanMcKee
Copy link
Collaborator

@LachlanMcKee LachlanMcKee commented Aug 8, 2022

Description

Updated to Kotlin 1.6.21

Check list

  • I have updated CHANGELOG.md if required.
  • I have updated documentation if required.

@LachlanMcKee LachlanMcKee force-pushed the update-kotlin-to-1.6.21 branch from 0b74a7c to 8dfc178 Compare August 8, 2022 11:37
@@ -30,13 +29,13 @@ ext {
rxAndroidVersion = '2.1.1'

// DI
daggerVersion = '2.29.1'
daggerVersion = '2.43.2'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dagger and glide had issues with kapt, so I had to update them


group='com.github.badoo.mvicore'

android {
compileSdkVersion 30
compileSdkVersion 31
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updates to dagger caused the compile target to no longer be acceptable

}

dependencies {
implementation("com.android.tools.build:gradle:7.1.3")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In a follow up PR I will add versionCatalogs, and this will point to that. At the moment there is no easy way to access these build.gradle that specifies this, as this is an includedBuild

Considering I am planning to move to versionCatalog, hopefully this is temporarily acceptable.

import org.gradle.api.Plugin
import org.gradle.api.Project

internal abstract class MviCorePublishPlugin : Plugin<Project> {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is quite simple for now, but if we decide to publish this on mavenCentral, we can amend this and all the binaries will work as expected.

@LachlanMcKee LachlanMcKee force-pushed the update-kotlin-to-1.6.21 branch 5 times, most recently from 2353d30 to e7fd546 Compare August 14, 2022 10:47
}

dependencies {
implementation("com.android.tools.build:gradle:7.2.2")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will use version catalog in a future PR to avoid this duplication

developer {
id.set("badoo")
name.set("Badoo")
email.set("mvicore@team.bumble.com")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before releasing a new version I will ensure that this group email exists

@LachlanMcKee LachlanMcKee force-pushed the update-kotlin-to-1.6.21 branch from e7fd546 to d491ef1 Compare August 14, 2022 11:35
@LachlanMcKee LachlanMcKee changed the title [DRAFT] Update kotlin to 1.6.21 Update kotlin to 1.6.21 Aug 14, 2022
@LachlanMcKee LachlanMcKee force-pushed the update-kotlin-to-1.6.21 branch from d491ef1 to 793a168 Compare August 14, 2022 11:38
@LachlanMcKee LachlanMcKee mentioned this pull request Aug 14, 2022
2 tasks
jitpack.yml Show resolved Hide resolved
.github/workflows/build.yml Outdated Show resolved Hide resolved
@CherryPerry
Copy link
Collaborator

Probably we do not need Idea Gradle plugin (change for a separate PR).

https://docs.gradle.org/current/userguide/idea_plugin.html

If you simply want to load a Gradle project into IntelliJ IDEA, then use the IDE’s import facility. You do not need to apply this plugin to import your project into IDEA

@LachlanMcKee LachlanMcKee force-pushed the update-kotlin-to-1.6.21 branch from 793a168 to 43b3941 Compare August 14, 2022 13:11
@LachlanMcKee LachlanMcKee force-pushed the update-kotlin-to-1.6.21 branch from 43b3941 to ce510d9 Compare August 14, 2022 13:14
@LachlanMcKee LachlanMcKee merged commit 33df9c2 into badoo:master Aug 14, 2022
@LachlanMcKee LachlanMcKee deleted the update-kotlin-to-1.6.21 branch August 14, 2022 13:26
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants