diff --git a/android/cli/commands/_build.js b/android/cli/commands/_build.js index 89d84d5f752..234b92aecb9 100644 --- a/android/cli/commands/_build.js +++ b/android/cli/commands/_build.js @@ -2177,7 +2177,7 @@ AndroidBuilder.prototype.generateRootProjectFiles = async function generateRootP // Generate root "build.gradle" template script to the root build directory. let buildGradleContent = await fs.readFile(path.join(this.templatesDir, 'root.build.gradle')); buildGradleContent = ejs.render(buildGradleContent.toString(), { - classpathes: [], + classpaths: [], }); await fs.writeFile(path.join(this.buildDir, 'build.gradle'), buildGradleContent); diff --git a/android/cli/commands/_buildModule.js b/android/cli/commands/_buildModule.js index d80ec8ffd3b..308330be2d9 100644 --- a/android/cli/commands/_buildModule.js +++ b/android/cli/commands/_buildModule.js @@ -516,7 +516,7 @@ AndroidModuleBuilder.prototype.generateRootProjectFiles = async function generat const templatesDir = path.join(this.platformPath, 'templates', 'build'); let buildGradleContent = await fs.readFile(path.join(templatesDir, 'root.build.gradle')); buildGradleContent = ejs.render(buildGradleContent.toString(), { - classpathes: this.manifest.classpathes.split(','), + classpaths: this.manifest.classpaths.split(','), }); await fs.writeFile(path.join(this.buildDir, 'build.gradle'), buildGradleContent); diff --git a/android/templates/build/root.build.gradle b/android/templates/build/root.build.gradle index bbbbd67bab2..1ebecc64af8 100644 --- a/android/templates/build/root.build.gradle +++ b/android/templates/build/root.build.gradle @@ -9,8 +9,8 @@ buildscript { classpath 'com.android.tools.build:gradle:8.3.1' classpath 'com.google.gms:google-services:4.4.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - <% for (let i = 0; i < classpathes.length; i++) {%> - classpath '<%= classpathes[i] %>' + <% for (let i = 0; i < classpaths.length; i++) {%> + classpath '<%= classpaths[i] %>' <% } %> } } diff --git a/android/templates/module/default/template/android/manifest.ejs b/android/templates/module/default/template/android/manifest.ejs index bbc7f7f5a0b..8b898f0ba08 100644 --- a/android/templates/module/default/template/android/manifest.ejs +++ b/android/templates/module/default/template/android/manifest.ejs @@ -15,6 +15,6 @@ name: <%- moduleName %> moduleid: <%- moduleId %> guid: <%- guid %> platform: <%- platform %> -classpathes: +classpaths: plugins: minsdk: <%- tisdkVersion %>