Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update to AGP 8.2 and migrate to aep-library plugin #84

Merged
merged 3 commits into from
Feb 3, 2024

Conversation

prudrabhat
Copy link
Contributor

Description

  • Update to AGP 8.2 and use aep-library plugin for assurance library build.gradle.
  • Switch gradle files to use Kotlin DSL
  • Update Make file to latest javadoc task
  • Update circle ci to use jdk17 required for AGP 8.2
  • Switch to using core 3.x snapshot artifacts.

Related Issue

Motivation and Context

Prepare for the 3.x version of the library to be aligned with Core 3.x

  • Update to AGP 8.2 and use aep-library plugin for assurance library build.gradle.
  • Switch gradle files to use Kotlin DSL
  • Update Make file to latest javadoc task
  • Update circle ci to use jdk17 required for AGP 8.2

How Has This Been Tested?

  • Ran the build for assurance library and test-app. Verified with a sample session.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

- Update to AGP 8.2 and use aep-library plugin for assurance library
  build.gradle.
- Switch gradle files to use Kotlin DSL
- Update Make file to latest javadoc task
- Update circle ci to use jdk17 required for AGP 8.2
}

composeOptions {
kotlinCompilerExtensionVersion = BuildConstants.Versions.COMPOSE_COMPILER
Copy link

Choose a reason for hiding this comment

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

I would recommend that the test app defines it own version of compose instead of accessing it from the BuildConstants.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Discussed that due the way extension projects are setup to use the Kotlin gradle plugin from the aep-library, we cannot use a version of Kotlin Compiler greater than what is defined there. When using a lower version, it should be compatible with the composeVersion being used. So decided to leave this as is and use a custom Compose version.

resource-class: large
tag: 2022.01.1
tag: 2024.01.1
Copy link

Choose a reason for hiding this comment

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

Can you also update the tag for functional tests?

aepLibrary {
namespace = "com.adobe.marketing.mobile.assurance"
compose = true
//enableSpotless = true
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Disabled spotless for this PR. Will enable this in the next PR to make the build pass.

implementation("com.adobe.marketing.mobile:core:$mavenCoreVersion-SNAPSHOT")

// Compose Navigation
implementation("androidx.navigation:navigation-compose:2.4.0")
Copy link

Choose a reason for hiding this comment

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

Can you also add these as publishing dependencies?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops! Yes. Added them now.

@prudrabhat prudrabhat merged commit 42398ab into adobe:feature/v-next Feb 3, 2024
1 of 3 checks passed
@prudrabhat prudrabhat deleted the upgrade_gradle branch March 5, 2024 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants