Skip to content

Commit 253dc28

Browse files
committed
When bootstraps were unified, sources moved from src to src/main/java for webview and service boostraps, so copy other sources there as well.
1 parent 3aa2aec commit 253dc28

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pythonforandroid/bootstraps/service_only/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ def run_distribute(self):
3434

3535
self.distribute_libs(arch, [self.ctx.get_libs_dir(arch.arch)])
3636
self.distribute_aars(arch)
37-
self.distribute_javaclasses(self.ctx.javaclass_dir)
37+
self.distribute_javaclasses(self.ctx.javaclass_dir,
38+
dest_dir=join("src", "main", "java"))
3839

3940
python_bundle_dir = join('_python_bundle', '_python_bundle')
4041
ensure_dir(python_bundle_dir)

pythonforandroid/bootstraps/webview/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ def run_distribute(self):
3131

3232
self.distribute_libs(arch, [self.ctx.get_libs_dir(arch.arch)])
3333
self.distribute_aars(arch)
34-
self.distribute_javaclasses(self.ctx.javaclass_dir)
34+
self.distribute_javaclasses(self.ctx.javaclass_dir,
35+
dest_dir=join("src", "main", "java"))
3536

3637
python_bundle_dir = join('_python_bundle', '_python_bundle')
3738
ensure_dir(python_bundle_dir)

0 commit comments

Comments
 (0)