| apply plugin: 'com.android.tools.java-library' |
| apply plugin: 'com.android.tools.kotlin' |
| apply plugin: 'com.android.tools.publish' |
| apply plugin: 'sdk-java-lib' |
| |
| group = 'com.android.tools.build' |
| version = rootProject.ext.baseVersion |
| |
| base { |
| archivesName.set("manifest-merger") |
| } |
| |
| dependencies { |
| implementation libs.com.android.tools.common |
| implementation libs.com.android.tools.sdklib |
| implementation libs.com.android.tools.sdkCommon |
| implementation libs.gson |
| implementation libs.kotlin_stdlib |
| |
| testImplementation libs.junit |
| testImplementation libs.truth |
| testImplementation libs.mockito_core |
| testImplementation libs.com.android.tools.testutils |
| } |
| |
| sourceSets { |
| main.resources.srcDir 'src/main/java' |
| test.resources.srcDir 'src/test/java' |
| } |
| |
| test { |
| maxParallelForks = Runtime.runtime.availableProcessors() / 2 |
| if (System.getProperty("UPDATE_TEST_SNAPSHOTS") != null) { |
| systemProperty("UPDATE_TEST_SNAPSHOTS", System.getProperty("UPDATE_TEST_SNAPSHOTS")) |
| } |
| } |
| |
| project.ext.pomName = 'Android Tools Manifest Merger library' |
| project.ext.pomDesc = 'A Library to merge Android manifests.' |