Please follow below steps to refer your built-version. More information you can
get from
https://crosswalk-project.org/documentation/embedding_crosswalk/crosswalk_aar.html.
1, Install the AAR
$ mvn install:install-file -DgroupId=org.xwalk
-DartifactId=xwalk_core_library_canary \
-Dversion=9.38.208.8 -Dpackaging=aar -Dfile=
out/Debug/xwalk_core_library.aar \
-DgeneratePom=true
2, Modify hello-xwalk.gradle in the plugin to use the AAR
Use mavenLocal() instead of the remote repo url to refer to the local aar:
Repositories {
mavenLocal()
}
3, Refer the AAR
Dependencies {
Compile 'org.xwalk:xwalk_core_library_canary:9.38.208.8
}
9.38.208.8 is the aar version, you can specify it when installing the aar.
Thanks,
Junwei.
From: Gary Chine [mailto:[email protected]]
Sent: Tuesday, August 11, 2015 3:42 PM
To: Fu, Junwei; Crosswalk-dev
Subject: How to refer my local build walk_core_library in CrossWalk-Cordova app
Hi Junwei,
Nowadays,I succeed to build the CrossWalk and generated a android library for
walk_core_library.I am thinking to add some modification from Chromiumn/net
Chromiumn/storage for some paticular usage,then test that with WebView under
our Cordova project.So I need the CrossWalk Cordova app referring my local
walk_core_library instead of remote maven repository.
The problem is I am very fresh to gradle build system and dire to change the
file hello-xwalk.gradle to adopt this.Would you like to give me some help?
Thanks,
Gary
_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev