summaryrefslogtreecommitdiff
path: root/layoutlib/intellij.android.layoutlib.iml
diff options
context:
space:
mode:
authorJerome Gaillard <jgaillard@google.com>2018-12-18 21:14:09 +0000
committerJerome Gaillard <jgaillard@google.com>2019-01-09 17:31:30 +0000
commit5c24df221919b2891c47619947366681cbcc75de (patch)
tree691dce02b008db52335d2882525c14cc8866371f /layoutlib/intellij.android.layoutlib.iml
parentdd9d2400511b9ea559bb2c531338d97473b8b929 (diff)
downloadidea-5c24df221919b2891c47619947366681cbcc75de.tar.gz
Create module for layoutlib dependency
Create a layoutlib module that depends on layoutlib.jar and layoutlib-api in order to control dependencies on layoutlib. This also renames the module previously named layoutlib into layoutlib-loader. Bug: 120971044 Test: existing tests pass Change-Id: I7b755acc4b4a1737041ac61412c0951949beed30
Diffstat (limited to 'layoutlib/intellij.android.layoutlib.iml')
-rw-r--r--layoutlib/intellij.android.layoutlib.iml19
1 files changed, 9 insertions, 10 deletions
diff --git a/layoutlib/intellij.android.layoutlib.iml b/layoutlib/intellij.android.layoutlib.iml
index 15ef47b003e..55d5b9fa04d 100644
--- a/layoutlib/intellij.android.layoutlib.iml
+++ b/layoutlib/intellij.android.layoutlib.iml
@@ -2,18 +2,17 @@
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
- <content url="file://$MODULE_DIR$">
- <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
- </content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
- <orderEntry type="library" exported="" name="layoutlib" level="project" />
- <orderEntry type="module" module-name="android.sdktools.sdk-common" />
- <orderEntry type="library" name="jetbrains-annotations-java5" level="project" />
- <orderEntry type="module" module-name="intellij.android.common" />
- <orderEntry type="module" module-name="intellij.platform.ide" />
+ <orderEntry type="module-library" exported="">
+ <library name="layoutlib">
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../../../../prebuilts/studio/layoutlib/data/layoutlib.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
<orderEntry type="module" module-name="android.sdktools.layoutlib-api" />
- <orderEntry type="library" name="ASM" level="project" />
</component>
</module> \ No newline at end of file