aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gruver <bgruv@google.com>2021-03-02 23:40:37 -0800
committerBen Gruver <bgruv@google.com>2021-03-02 23:45:10 -0800
commitb56a29632f9f3918133fad0d9102eb731b247d12 (patch)
tree8ebb12e1594cc4aadd4dcfe37702835865d6075d
parent5842cee8ec458327c1f59b8921bf93008bcd3e91 (diff)
downloadgoogle-smali-b56a29632f9f3918133fad0d9102eb731b247d12.tar.gz
Switch to api dependency for dexlib2 in smali and baksmali
dexlib2 classes are a part of the smali and baksmali public api
-rw-r--r--baksmali/build.gradle2
-rw-r--r--build.gradle2
-rw-r--r--smali/build.gradle2
3 files changed, 3 insertions, 3 deletions
diff --git a/baksmali/build.gradle b/baksmali/build.gradle
index b043ba76..d84f72b1 100644
--- a/baksmali/build.gradle
+++ b/baksmali/build.gradle
@@ -40,7 +40,7 @@ buildscript {
dependencies {
implementation project(':util')
- implementation project(':dexlib2')
+ api project(':dexlib2')
implementation depends.guava
implementation depends.jcommander
diff --git a/build.gradle b/build.gradle
index 6bec004c..930d8d65 100644
--- a/build.gradle
+++ b/build.gradle
@@ -72,7 +72,7 @@ task(install).doLast {
def maven_release_projects = ['smali', 'baksmali', 'dexlib2', 'util']
subprojects {
- apply plugin: 'java'
+ apply plugin: 'java-library'
apply plugin: 'idea'
if (JavaVersion.current().isJava8Compatible()) {
diff --git a/smali/build.gradle b/smali/build.gradle
index 34dcc718..507c79ad 100644
--- a/smali/build.gradle
+++ b/smali/build.gradle
@@ -74,7 +74,7 @@ idea {
dependencies {
implementation project(':util')
- implementation project(':dexlib2')
+ api project(':dexlib2')
implementation depends.antlr_runtime
implementation depends.jcommander
implementation depends.stringtemplate