blob: 574394b73f9d29420f8ebebe52b4c569ea74889c [file] [log] [blame]
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
def subprojectDirs = [{{subproject_dirs}}]
def subprojects = new HashMap<String, String>()
def i = 1
subprojectDirs.each { subprojectDir ->
def subprojectName = 'subproject' + i
subprojects.put(subprojectName, subprojectDir)
include(subprojectName)
}
rootProject.children.each { prj ->
prj.projectDir = new File(subprojects[prj.name])
}
enableFeaturePreview("VERSION_ORDERING_V2")