skiptools / skiptools/skip

Gradle deprecation warnings in `SkipGradlePlugins.kt`

Open
#665 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
3.2k
Forks
106
Avg merge
6d 13h
Merged PRs (30d)
1

Description

$ skip init --transpiled-app --appid=some.app.id app-project AppName
$ cd app-project
$ gradle -p Android 

You'll see these warnings:

w: file:///private/tmp/tp/app-project/.build/Android/skip-gradle/src/main/kotlin/SkipGradlePlugins.kt:171:13 'fun task(name: String, configureAction: Action<in Task>): Task' is deprecated. Deprecated in Java.
w: file:///private/tmp/tp/app-project/.build/Android/skip-gradle/src/main/kotlin/SkipGradlePlugins.kt:182:17 'fun task(name: String, configureAction: Action<in Task>): Task' is deprecated. Deprecated in Java.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the warnings with skip init --transpiled-app --appid=some.app.id app-project AppName, then run gradle -p Android from the generated project. Inspect .build/Android/skip-gradle/src/main/kotlin/SkipGradlePlugins.kt around lines 171 and 182; done means the Gradle build no longer reports these deprecation warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.