mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-04-01 00:35:29 +02:00
Gradle pls
This commit is contained in:
parent
31bc69ff65
commit
bf83bbb5ef
1 changed files with 5 additions and 2 deletions
|
@ -84,8 +84,11 @@ dependencies {
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
|
|
||||||
modCompileOnly project(":canvas-compat") {
|
// Fix circular error when gradle tries to build this project as a pre-requisite to :canvas-compat
|
||||||
transitive = false
|
// Build will fail if the sub-project isn't built first though,
|
||||||
|
// so make sure to run gradlew :canvas-compat:build before doing gradlew build
|
||||||
|
if (file("./canvas-compat/build/libs/${project(':canvas-compat').jar.archiveName}").exists()) {
|
||||||
|
modCompileOnly project(":canvas-compat")
|
||||||
}
|
}
|
||||||
|
|
||||||
afterEvaluate {
|
afterEvaluate {
|
||||||
|
|
Loading…
Add table
Reference in a new issue