mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-01 02:12:58 +08:00
Changing the project to add the app directory as a dependency
This commit is contained in:
parent
a216f0db75
commit
69ab6a0e0d
@ -149,13 +149,9 @@ StudioBuilder.prototype.prepBuildFiles = function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
// We really shouldn't do this.
|
|
||||||
// Write the settings.gradle file.
|
|
||||||
/*
|
|
||||||
fs.writeFileSync(path.join(this.root, 'settings.gradle'),
|
fs.writeFileSync(path.join(this.root, 'settings.gradle'),
|
||||||
'// GENERATED FILE - DO NOT EDIT\n' +
|
'// GENERATED FILE - DO NOT EDIT\n' +
|
||||||
'include ":"\n' + settingsGradlePaths.join(''));
|
'include ":"\n' + settingsGradlePaths.join(''));
|
||||||
*/
|
|
||||||
|
|
||||||
// Update dependencies within build.gradle.
|
// Update dependencies within build.gradle.
|
||||||
var buildGradle = fs.readFileSync(path.join(this.root, 'build.gradle'), 'utf8');
|
var buildGradle = fs.readFileSync(path.join(this.root, 'build.gradle'), 'utf8');
|
||||||
|
@ -1,15 +1,13 @@
|
|||||||
# This file is automatically generated by Android Tools.
|
# This file was originally created by the Android Tools, but is now
|
||||||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
|
# used by cordova-android to manage the state of the various third party
|
||||||
#
|
# libraries used in your application
|
||||||
# This file must be checked in Version Control Systems.
|
|
||||||
#
|
|
||||||
# To customize properties used by the Ant build system edit
|
|
||||||
# "ant.properties", and override values to adapt the script to your
|
|
||||||
# project structure.
|
|
||||||
#
|
|
||||||
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
|
|
||||||
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
|
||||||
|
|
||||||
|
# This is the Library Module that contains the Cordova Library, this is not
|
||||||
|
# required when using an AAR
|
||||||
android.library.reference.1=CordovaLib
|
android.library.reference.1=CordovaLib
|
||||||
|
|
||||||
|
# This is the application project. This is only required for Android Studio Gradle projects
|
||||||
|
android.library.reference.2=app
|
||||||
|
|
||||||
# Project target.
|
# Project target.
|
||||||
target=This_gets_replaced
|
target=This_gets_replaced
|
||||||
|
Loading…
Reference in New Issue
Block a user