.. | .. |
---|
2 | 2 | buildscript { |
---|
3 | 3 | repositories { |
---|
4 | 4 | jcenter() |
---|
| 5 | + google() |
---|
5 | 6 | } |
---|
6 | 7 | dependencies { |
---|
7 | 8 | classpath 'com.android.tools.build:gradle:7.3.0' |
---|
.. | .. |
---|
11 | 12 | allprojects { |
---|
12 | 13 | repositories { |
---|
13 | 14 | jcenter() |
---|
| 15 | + google() |
---|
| 16 | + } |
---|
| 17 | + gradle.projectsEvaluated { |
---|
| 18 | + tasks.withType(JavaCompile) { |
---|
| 19 | + Set<File> fileSet = options.bootstrapClasspath.getFiles() |
---|
| 20 | + List<File> newFileList = new ArrayList<>() |
---|
| 21 | + newFileList.add(new File("./app/libs/classes-full-debug.jar")) |
---|
| 22 | + newFileList.addAll(fileSet) |
---|
| 23 | + options.bootstrapClasspath = files(newFileList.toArray()) |
---|
| 24 | + } |
---|
14 | 25 | } |
---|
15 | 26 | } |
---|