File tree Expand file tree Collapse file tree
build/project-template-gradle Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -181,6 +181,22 @@ dependencies {
181181// /////////////////////////// CONFIGURATION PHASE //////////////////////////////////
182182// //////////////////////////////////////////////////////////////////////////////////
183183
184+ task pluginStructureCheck {
185+ def ft = fileTree(dir : nodeModulesDir, include : [" **/platforms/android/**/*.*" ], exclude : ' **/.bin/**' )
186+ ft. files. each { f ->
187+ def fileName = f. getName();
188+ if (
189+ ! fileName. endsWith(" .aar" )
190+ &&
191+ ! fileName. equals(" include.gradle" )
192+ &&
193+ ! fileName. endsWith(" .jar" )
194+ ){
195+ println " WARNING: The file: " + f + " is depricated, you can read more about what will be the expected plugin structure here: (add link to blog post)"
196+ }
197+ }
198+ }
199+
184200def createIncludeFile (filePath , fileName , dimensionName ) {
185201 println " \t +creating include.gradle file for: " + filePath
186202 def defaultIncludeFile = new File (filePath, " include.gradle" )
You can’t perform that action at this time.
0 commit comments