nowinandroid icon indicating copy to clipboard operation
nowinandroid copied to clipboard

Convention plugin module does not compile against AGP gradle-api artifact

Open af-jul opened this issue 8 months ago • 1 comments

The build-logic/convention module currently uses compileOnly(libs.android.gradlePlugin) which refers to the com.android.tools.build:gradle artifact. However there is also the com.android.tools.build:gradle-api artifact, which sounds more like the public AGP API that should be used to configure builds.

Is it okay to use com.android.tools.build:gradle or should this actually better be com.android.tools.build:gradle-api?

af-jul avatar Mar 12 '25 09:03 af-jul