1*37f5703cSAndroid Build Coastguard Worker/* 2*37f5703cSAndroid Build Coastguard Worker * Copyright 2012, Google LLC 3*37f5703cSAndroid Build Coastguard Worker * 4*37f5703cSAndroid Build Coastguard Worker * Redistribution and use in source and binary forms, with or without 5*37f5703cSAndroid Build Coastguard Worker * modification, are permitted provided that the following conditions are 6*37f5703cSAndroid Build Coastguard Worker * met: 7*37f5703cSAndroid Build Coastguard Worker * 8*37f5703cSAndroid Build Coastguard Worker * * Redistributions of source code must retain the above copyright 9*37f5703cSAndroid Build Coastguard Worker * notice, this list of conditions and the following disclaimer. 10*37f5703cSAndroid Build Coastguard Worker * * Redistributions in binary form must reproduce the above 11*37f5703cSAndroid Build Coastguard Worker * copyright notice, this list of conditions and the following disclaimer 12*37f5703cSAndroid Build Coastguard Worker * in the documentation and/or other materials provided with the 13*37f5703cSAndroid Build Coastguard Worker * distribution. 14*37f5703cSAndroid Build Coastguard Worker * * Neither the name of Google LLC nor the names of its 15*37f5703cSAndroid Build Coastguard Worker * contributors may be used to endorse or promote products derived from 16*37f5703cSAndroid Build Coastguard Worker * this software without specific prior written permission. 17*37f5703cSAndroid Build Coastguard Worker * 18*37f5703cSAndroid Build Coastguard Worker * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19*37f5703cSAndroid Build Coastguard Worker * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20*37f5703cSAndroid Build Coastguard Worker * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21*37f5703cSAndroid Build Coastguard Worker * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22*37f5703cSAndroid Build Coastguard Worker * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23*37f5703cSAndroid Build Coastguard Worker * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24*37f5703cSAndroid Build Coastguard Worker * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25*37f5703cSAndroid Build Coastguard Worker * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26*37f5703cSAndroid Build Coastguard Worker * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27*37f5703cSAndroid Build Coastguard Worker * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28*37f5703cSAndroid Build Coastguard Worker * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29*37f5703cSAndroid Build Coastguard Worker */ 30*37f5703cSAndroid Build Coastguard Worker 31*37f5703cSAndroid Build Coastguard WorkersourceSets { 32*37f5703cSAndroid Build Coastguard Worker main { 33*37f5703cSAndroid Build Coastguard Worker java { 34*37f5703cSAndroid Build Coastguard Worker srcDirs "${project.rootDir}/third_party/util/src/main/java" 35*37f5703cSAndroid Build Coastguard Worker } 36*37f5703cSAndroid Build Coastguard Worker } 37*37f5703cSAndroid Build Coastguard Worker} 38*37f5703cSAndroid Build Coastguard Worker 39*37f5703cSAndroid Build Coastguard Workerdependencies { 40*37f5703cSAndroid Build Coastguard Worker implementation project(':dexlib2') 41*37f5703cSAndroid Build Coastguard Worker implementation depends.findbugs 42*37f5703cSAndroid Build Coastguard Worker implementation depends.guava 43*37f5703cSAndroid Build Coastguard Worker implementation depends.jcommander 44*37f5703cSAndroid Build Coastguard Worker testImplementation depends.junit 45*37f5703cSAndroid Build Coastguard Worker} 46*37f5703cSAndroid Build Coastguard Worker 47*37f5703cSAndroid Build Coastguard Workerpublish { 48*37f5703cSAndroid Build Coastguard Worker publishing { 49*37f5703cSAndroid Build Coastguard Worker publications { 50*37f5703cSAndroid Build Coastguard Worker mavenJava(MavenPublication) { 51*37f5703cSAndroid Build Coastguard Worker pom { 52*37f5703cSAndroid Build Coastguard Worker description = 'This library contains random utilities used by smali/baksmali/dexlib2' 53*37f5703cSAndroid Build Coastguard Worker scm { 54*37f5703cSAndroid Build Coastguard Worker url = 'https://github.com/google/smali/tree/master/util' 55*37f5703cSAndroid Build Coastguard Worker } 56*37f5703cSAndroid Build Coastguard Worker } 57*37f5703cSAndroid Build Coastguard Worker } 58*37f5703cSAndroid Build Coastguard Worker } 59*37f5703cSAndroid Build Coastguard Worker } 60*37f5703cSAndroid Build Coastguard Worker}