Initialized project with game ingesting
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
rootProject.name = 'rex-catalog'
|
||||
|
||||
// Ścieżka do buildu emulatora. Domyślnie przypięty submoduł (reprodukowalnie,
|
||||
// tag z gradle.properties). Do pracy na żywej kopii roboczej obu projektów:
|
||||
// ./gradlew run -PemulatorPath=/Users/genszu/IdeaProjects/Rex-EMoolator
|
||||
def emulatorPath = providers.gradleProperty('emulatorPath').getOrElse('vendor/Rex-EMoolator')
|
||||
def emulator = file(emulatorPath)
|
||||
|
||||
if (!new File(emulator, 'settings.gradle').exists()) {
|
||||
throw new GradleException(
|
||||
"Nie znaleziono buildu Rex-EMoolator w '${emulator}'.\n" +
|
||||
"Zainicjuj submoduł: git submodule update --init --recursive")
|
||||
}
|
||||
|
||||
// Koordynat 'pl.genschu:core' nie istnieje w żadnym repozytorium Maven — jest
|
||||
// deklarowany wyłącznie po to, żeby go tutaj podstawić lokalnym projektem :core.
|
||||
// Dzięki temu repo emulatora nie wymaga ani 'group', ani 'maven-publish'.
|
||||
includeBuild(emulator) {
|
||||
dependencySubstitution {
|
||||
substitute module('pl.genschu:core') using project(':core')
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user