ERROR
[Android] only buildscript {} and other plugins {} script blocks are allowed before plugins {} blocks, no other statements are allowed
파송송
2022. 9. 19. 21:27
728x90
- buildscript를 plugins 보다 앞에 써줘야함
- gradle은 순서에 민감함
- https://docs.gradle.org/5.4.1/userguide/plugins.html#sec:constrained_syntax
Using Gradle Plugins
Where «plugin id» and «plugin version» must be constant, literal, strings and the apply statement with a boolean can be used to disable the default behavior of applying the plugin immediately (e.g. you want to apply it only in subprojects). No other st
docs.gradle.org
728x90