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

Addresses some Gradle 9 breaking changes #200

Merged
merged 1 commit into from
Nov 29, 2024

Addresses some `Gradle 9` breaking changes

6acb678
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Addresses some Gradle 9 breaking changes #200

Addresses some `Gradle 9` breaking changes
6acb678
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results succeeded Nov 28, 2024 in 0s

24 tests ✅ passed, checks: ⚠️ 2

Test Suites ✅ 24 passed 🟡 0 skipped ❌ 0 failed ⌛ took
✅ com.example.kmp.KMPObjectAndroidTest
  • ✅ testKMPObject (⌛ 0.2)
1 0 0 0.2
✅ com.example.kmp.KMPObjectAndroidTest
  • ✅ testKMPObject (⌛ 0.209)
1 0 0 0.209
✅ com.example.kmp.KMPObjectJSTest
  • ✅ testKMPObject[js, node] (⌛ 0.0)
1 0 0 0.0
✅ com.example.kmp.KMPObjectJVMTest
  • ✅ testKMPObject[jvm] (⌛ 0.139)
1 0 0 0.139
✅ com.example.kmp.KMPObjectTest
  • ✅ testKMPObject[js, node] (⌛ 0.003)
1 0 0 0.003
✅ com.example.kmp.KMPObjectTest
  • ✅ testKMPObject[jvm] (⌛ 0.001)
1 0 0 0.001
✅ com.example.kmp.KMPObjectTest
  • ✅ testKMPObject (⌛ 0.006)
1 0 0 0.006
✅ com.example.kmp.KMPObjectTest
  • ✅ testKMPObject (⌛ 0.001)
1 0 0 0.001
✅ com.example.login.ExampleUnitTest
  • ✅ addition_isCorrect (⌛ 0.013)
1 0 0 0.013
✅ com.example.login.ExampleUnitTest
  • ✅ addition_isCorrect (⌛ 0.004)
1 0 0 0.004
✅ com.example.login.ui.data.LoginDataSourceTest
  • ✅ testLogin (⌛ 0.019)
1 0 0 0.019
✅ com.example.login.ui.data.LoginDataSourceTest
  • ✅ testLogin (⌛ 0.006)
1 0 0 0.006
✅ com.example.myapplication.ExampleInstrumentedTest
  • ✅ useAppContext (⌛ 0.013)
1 0 0 4.086
✅ com.example.myapplication.ExampleUnitTest
  • ✅ addition_isCorrect (⌛ 0.003)
1 0 0 0.003
✅ com.example.myapplication.ExampleUnitTest
  • ✅ addition_isCorrect (⌛ 0.004)
1 0 0 0.004
✅ com.example.myapplication.ExampleUnitTest
  • ✅ addition_isCorrect (⌛ 0.003)
1 0 0 0.003
✅ com.example.myapplication.ExampleUnitTest
  • ✅ addition_isCorrect (⌛ 0.008)
1 0 0 0.008
✅ com.example.myapplication.MainActivityTest
  • ✅ shouldStart (⌛ 19.736)
1 0 0 19.736
✅ com.example.myapplication.MainActivityTest
  • ✅ shouldStart (⌛ 20.149)
1 0 0 20.149
✅ com.example.myapplication.MainActivityTest
  • ✅ shouldStart (⌛ 11.612)
1 0 0 11.612
✅ com.example.myapplication.MainActivityTest
  • ✅ shouldStart (⌛ 19.284)
1 0 0 19.284
✅ io.github.gmazzo.android.test.aggregation.AndroidTestCoverageAggregationPluginTest
  • ✅ applies correctly on a multi module project() (⌛ 8.77)
1 0 0 8.77
✅ io.github.gmazzo.android.test.aggregation.AndroidTestResultsAggregationPluginTest
  • ✅ applies correctly on a multi module project() (⌛ 0.626)
1 0 0 0.626
✅ MyUseCaseTest
  • ✅ testIsDone (⌛ 0.016)
1 0 0 0.016
Android Lint 🛑 0 errors ⚠️ 2 warnings 💡 0 others
Lint / ObsoleteLintCustomCheck 0 2 0

Annotations

Check warning on line 0 in /home/runner/work/gradle-android-test-aggregation-plugin/gradle-android-test-aggregation-plugin/demo-project/app/build/intermediates/lint-cache/lintReportProdDebug/migrated-jars/androidx.navigation.common.lint.NavigationCommonIssueRegistry-5daa12651be0734e..jar

See this annotation in the file changed.

@github-actions github-actions / Test Results

Lint: Obsolete custom lint check

Library lint checks out of date;
these checks **will be skipped**!

Lint found an issue registry (`androidx.navigation.common.lint.NavigationCommonIssueRegistry`)
which was compiled against an older version of lint
than this one. This is usually fine, but not in this
case; some basic verification shows that the lint
check jar references (for example) the following API
which is no longer valid in this version of lint:
org.jetbrains.kotlin.analysis.api.lifetime.KaDefaultLifetimeTokenProvider#Companion
(Referenced from androidx/navigation/lint/UtilKt.class)

Therefore, this lint check library is **not** included
in analysis. This affects the following lint checks:
`EmptyNavDeepLink`,`WrongStartDestinationType`,`MissingSerializableAnnotation`,`MissingKeepAnnotation`

Recompile the checks against the latest version, or if
this is a check bundled with a third-party library, see
if there is a more recent version available.

Version of Lint API this lint check is using is 14.
The Lint API version currently running is 16 (8.7+).
Raw output
Lint can be extended with "custom checks": additional checks implemented by developers and libraries to for example enforce specific API usages required by a library or a company coding style guideline.

The Lint APIs are not yet stable, so these checks may either cause a performance degradation, or stop working, or provide wrong results.

This warning flags custom lint checks that are found to be using obsolete APIs and will need to be updated to run in the current lint environment.

It may also flag issues found to be using a **newer** version of the API, meaning that you need to use a newer version of lint (or Android Studio or Gradle plugin etc) to work with these checks.

Check warning on line 0 in /home/runner/work/gradle-android-test-aggregation-plugin/gradle-android-test-aggregation-plugin/demo-project/app/build/intermediates/lint-cache/lintReportProdDebug/migrated-jars/androidx.navigation.runtime.lint.NavigationRuntimeIssueRegistry-a8fea42aedb9bdb3..jar

See this annotation in the file changed.

@github-actions github-actions / Test Results

Lint: Obsolete custom lint check

Library lint checks out of date;
these checks **will be skipped**!

Lint found an issue registry (`androidx.navigation.runtime.lint.NavigationRuntimeIssueRegistry`)
which was compiled against an older version of lint
than this one. This is usually fine, but not in this
case; some basic verification shows that the lint
check jar references (for example) the following API
which is no longer valid in this version of lint:
org.jetbrains.kotlin.analysis.api.lifetime.KaDefaultLifetimeTokenProvider#Companion
(Referenced from androidx/navigation/lint/UtilKt.class)

Therefore, this lint check library is **not** included
in analysis. This affects the following lint checks:
`DeepLinkInActivityDestination`,`WrongStartDestinationType`,`WrongNavigateRouteType`,`MissingKeepAnnotation`,`MissingSerializableAnnotation`

Recompile the checks against the latest version, or if
this is a check bundled with a third-party library, see
if there is a more recent version available.

Version of Lint API this lint check is using is 14.
The Lint API version currently running is 16 (8.7+).
Raw output
Lint can be extended with "custom checks": additional checks implemented by developers and libraries to for example enforce specific API usages required by a library or a company coding style guideline.

The Lint APIs are not yet stable, so these checks may either cause a performance degradation, or stop working, or provide wrong results.

This warning flags custom lint checks that are found to be using obsolete APIs and will need to be updated to run in the current lint environment.

It may also flag issues found to be using a **newer** version of the API, meaning that you need to use a newer version of lint (or Android Studio or Gradle plugin etc) to work with these checks.