Skip to content

Commit

Permalink
fix: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemannn committed Sep 17, 2024
1 parent 21a5fa4 commit 9996ee2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion android/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion android/cli/commands/_buildModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
4 changes: 2 additions & 2 deletions android/templates/build/root.build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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] %>'
<% } %>
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ name: <%- moduleName %>
moduleid: <%- moduleId %>
guid: <%- guid %>
platform: <%- platform %>
classpathes:
classpaths:
plugins:
minsdk: <%- tisdkVersion %>

0 comments on commit 9996ee2

Please sign in to comment.