Added res-public resource folder for configuration public resources, update build.gradle to take in account folder

This commit is contained in:
Tobrun
2015-09-25 13:24:25 +02:00
parent 8ef59dd1ec
commit ecf9ca5c34
2 changed files with 9 additions and 0 deletions

View File

@@ -44,6 +44,10 @@ android {
targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)
}
sourceSets {
main.res.srcDirs += 'src/main/res-public'
}
repositories {
mavenCentral()
}

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--Add references to exposed resources-->
<public name="AttributionAlertDialogStyle" type="style" />
</resources>