I want to do an \'apply from: ./gradle/script/common.gradle\' in my root build.gradle and have it be available to all of my subprojects.
I\'ve tried putting the apply i
In your root build.gradle.:
build.gradle.
allprojects { // or: subprojects { ... } apply from: "gradle/script/common.gradle" }
Should you ever need an absolute path to such a script, you can always do "$rootProject.projectDir/gradle/script/common.gradle".
"$rootProject.projectDir/gradle/script/common.gradle"