diff --git a/javadoc_combined.gradle b/javadoc_combined.gradle index aba4bf54bd..aea65d4d97 100644 --- a/javadoc_combined.gradle +++ b/javadoc_combined.gradle @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -apply from: "${rootDir}/javadoc_util.gradle" +apply from: "${buildscript.sourceFile.parentFile}/javadoc_util.gradle" class CombinedJavadocPlugin implements Plugin { diff --git a/javadoc_library.gradle b/javadoc_library.gradle index a252b148c6..65219843e3 100644 --- a/javadoc_library.gradle +++ b/javadoc_library.gradle @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -apply from: "${rootDir}/javadoc_util.gradle" +apply from: "${buildscript.sourceFile.parentFile}/javadoc_util.gradle" android.libraryVariants.all { variant -> def name = variant.buildType.name