diff --git a/.idea/libraries/com_android_tools_ninepatch.xml b/.idea/libraries/com_android_tools_ninepatch.xml
new file mode 100644
index 000000000000..103fe96814c8
--- /dev/null
+++ b/.idea/libraries/com_android_tools_ninepatch.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index ee47138bf446..aff31d33d0a0 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -359,7 +359,6 @@
-
diff --git a/platform/build-scripts/groovy/org/jetbrains/intellij/build/CommunityLibraryLicenses.groovy b/platform/build-scripts/groovy/org/jetbrains/intellij/build/CommunityLibraryLicenses.groovy
index d91f3f14737d..68f5ac8797d6 100644
--- a/platform/build-scripts/groovy/org/jetbrains/intellij/build/CommunityLibraryLicenses.groovy
+++ b/platform/build-scripts/groovy/org/jetbrains/intellij/build/CommunityLibraryLicenses.groovy
@@ -64,6 +64,8 @@ class CommunityLibraryLicenses {
url: "http://source.android.com/"),
new LibraryLicense(name: "Android Manifest Merger", libraryName: "com.android.tools.build:manifest-merger",
license: "Apache 2.0", url: "http://source.android.com/"),
+ new LibraryLicense(name: "Android ninepatch Library", libraryName: "com.android.tools:ninepatch",
+ license: "Apache 2.0", url: "http://source.android.com/"),
new LibraryLicense(name: "Android Pixelprobe Library", libraryName: "com.android.tools.pixelprobe:pixelprobe",
license: "Apache 2.0", url: "http://source.android.com/"),
new LibraryLicense(name: "Android Profiler", libraryName: "studio-profiler-grpc-1.0-jarjar", license: "Apache 2.0",
diff --git a/platform/build-scripts/groovy/org/jetbrains/intellij/build/CommunityRepositoryModules.groovy b/platform/build-scripts/groovy/org/jetbrains/intellij/build/CommunityRepositoryModules.groovy
index 0d470ae9c8b9..aab23630311b 100644
--- a/platform/build-scripts/groovy/org/jetbrains/intellij/build/CommunityRepositoryModules.groovy
+++ b/platform/build-scripts/groovy/org/jetbrains/intellij/build/CommunityRepositoryModules.groovy
@@ -297,7 +297,6 @@ class CommunityRepositoryModules {
withModule("android.sdktools.deployer", "sdk-tools.jar")
withModule("android.sdktools.instant-run-client", "sdk-tools.jar")
withModule("android.sdktools.instant-run-common", "sdk-tools.jar")
- withModule("android.sdktools.ninepatch", "sdk-tools.jar")
withModule("android.sdktools.perflib", "sdk-tools.jar")
withModule("android.sdktools.layoutinspector", "sdk-tools.jar")
withModule("android.sdktools.java-lib-model", "sdk-tools.jar")
@@ -344,6 +343,7 @@ class CommunityRepositoryModules {
withProjectLibrary("com.android.tools:sdklib")
withProjectLibrary("com.android.tools:common")
withProjectLibrary("com.android.tools:repository")
+ withProjectLibrary("com.android.tools:ninepatch")
withProjectLibrary("com.android.tools.ddms:ddmlib")
withProjectLibrary("com.android.tools.build:manifest-merger")
withProjectLibrary("com.android.tools.build:builder-model")