Injecting Gradle plugins (classpath) in Android builds (AIR 51.2+) #4152
Unanswered
IvakhnenkoDmytro
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
We currently only have gradle options for @ajwfrost This would be a good addition if possible, however may be difficult as these build script dependencies often require different additions to the app level So might require a <gradle>
<buildscript>
<dependencies>
<dependency>classpath "com.applovin.quality:AppLovinQualityServiceGradlePlugin:5.11.2"</dependency>
</dependencies>
</buildscript>
<customAdditions><![CDATA[
apply plugin: 'applovin-quality-service'
applovin {
apiKey "«ad-review-key»"
}
]]></customAdditions>
</gradle>Would be a good addition though as could simplify configuration of several services. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm trying to integrate the AppLovin Quality Service (Ad Review) plugin.
As per AppLovin's requirements, the plugin needs to be added via the
buildscriptblock usingclasspath:I've tried adding this via the
<dependencies>section in the ANE's platform.xml, but it fails becauseclasspath()is not recognized inside the standard dependencies block (it results in: Could not find method classpath()).My question is: Is there any way to inject a
buildscriptdependency or apply a custom Gradle plugin into build process?Thanks in advance for any insights!
Beta Was this translation helpful? Give feedback.
All reactions