first pass
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
google {
|
||||
content {
|
||||
includeGroupByRegex("com\\.android.*")
|
||||
includeGroupByRegex("com\\.google.*")
|
||||
includeGroupByRegex("androidx.*")
|
||||
}
|
||||
}
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
}
|
||||
}
|
||||
dependencyResolutionManagement {
|
||||
repositoriesMode.set(RepositoriesMode.PREFER_PROJECT)
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
|
||||
rootProject.name = 'a3270'
|
||||
|
||||
// Resolve lib3270j from sibling j3270 repo or configured path
|
||||
def j3270Path = hasProperty('j3270Dir') ? property('j3270Dir') : (System.getenv('J3270_DIR') ?: '../j3270')
|
||||
def lib3270jDir = file("${j3270Path}/lib3270j")
|
||||
|
||||
if (lib3270jDir.exists()) {
|
||||
include ':lib3270j'
|
||||
project(':lib3270j').projectDir = lib3270jDir
|
||||
} else {
|
||||
logger.warn("WARNING: lib3270j not found at '${lib3270jDir.absolutePath}'. Please clone j3270 next to a3270 or set J3270_DIR.")
|
||||
}
|
||||
Reference in New Issue
Block a user