普通文本  |  130行  |  4.25 KB

apply from:'buildSrc/studioCompat.gradle'

/////////////////////////////
//
// Libraries
//
/////////////////////////////

include ':support-annotations'
project(':support-annotations').projectDir = new File(rootDir, 'annotations')

include ':support-compat'
project(':support-compat').projectDir = new File(rootDir, 'compat')

include ':support-media-compat'
project(':support-media-compat').projectDir = new File(rootDir, 'media-compat')

include ':support-core-ui'
project(':support-core-ui').projectDir = new File(rootDir, 'core-ui')

include ':support-fragment'
project(':support-fragment').projectDir = new File(rootDir, 'fragment')

include ':support-core-utils'
project(':support-core-utils').projectDir = new File(rootDir, 'core-utils')

include ':support-v4'
project(':support-v4').projectDir = new File(rootDir, 'v4')

include ':support-appcompat-v7'
project(':support-appcompat-v7').projectDir = new File(rootDir, 'v7/appcompat')

include ':support-gridlayout-v7'
project(':support-gridlayout-v7').projectDir = new File(rootDir, 'v7/gridlayout')

include ':support-mediarouter-v7'
project(':support-mediarouter-v7').projectDir = new File(rootDir, 'v7/mediarouter')

include ':support-palette-v7'
project(':support-palette-v7').projectDir = new File(rootDir, 'v7/palette')

include ':support-recyclerview-v7'
project(':support-recyclerview-v7').projectDir = new File(rootDir, 'v7/recyclerview')

include ':support-cardview-v7'
project(':support-cardview-v7').projectDir = new File(rootDir, 'v7/cardview')

include ':support-preference-v7'
project(':support-preference-v7').projectDir = new File(rootDir, 'v7/preference')

include ':support-preference-v14'
project(':support-preference-v14').projectDir = new File(rootDir, 'v14/preference')

include ':support-preference-leanback-v17'
project(':support-preference-leanback-v17').projectDir = new File(rootDir, 'v17/preference-leanback')

include ':support-v13'
project(':support-v13').projectDir = new File(rootDir, 'v13')

include ':support-leanback-v17'
project(':support-leanback-v17').projectDir = new File(rootDir, 'v17/leanback')

include ':support-recommendation'
project(':support-recommendation').projectDir = new File(rootDir, 'recommendation')

include ':support-design'
project(':support-design').projectDir = new File(rootDir, 'design')

include ':support-percent'
project(':support-percent').projectDir = new File(rootDir, 'percent')

include ':support-customtabs'
project(':support-customtabs').projectDir = new File(rootDir, 'customtabs')

include ':support-recommendation'
project(':support-recommendation').projectDir = new File(rootDir, 'recommendation')

include ':support-vector-drawable'
project(':support-vector-drawable').projectDir = new File(rootDir, 'graphics/drawable/static')

include ':support-animated-vector-drawable'
project(':support-animated-vector-drawable').projectDir = new File(rootDir, 'graphics/drawable/animated')

include ':support-transition'
project(':support-transition').projectDir = new File(rootDir, 'transition')


/////////////////////////////
//
// Samples
//
/////////////////////////////

File samplesRoot = new File(rootDir, 'samples')

include ':support-design-demos'
project(':support-design-demos').projectDir = new File(samplesRoot, 'SupportDesignDemos')

include ':support-leanback-demos'
project(':support-leanback-demos').projectDir = new File(samplesRoot, 'SupportLeanbackDemos')

include ':support-percent-demos'
project(':support-percent-demos').projectDir = new File(samplesRoot, 'SupportPercentDemos')

include ':support-preference-demos'
project(':support-preference-demos').projectDir = new File(samplesRoot, 'SupportPreferenceDemos')

include ':support-transition-demos'
project(':support-transition-demos').projectDir = new File(samplesRoot, 'SupportTransitionDemos')

include ':support-v4-demos'
project(':support-v4-demos').projectDir = new File(samplesRoot, 'Support4Demos')

include ':support-v7-demos'
project(':support-v7-demos').projectDir = new File(samplesRoot, 'Support7Demos')

include ':support-v13-demos'
project(':support-v13-demos').projectDir = new File(samplesRoot, 'Support13Demos')

/////////////////////////////
//
// External
//
/////////////////////////////

File externalRoot = new File(rootDir, '../../external')

include ':doclava'
project(':doclava').projectDir = new File(externalRoot, 'doclava')