Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2017 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
Sergey Vasilinets | 22b6214 | 2017-11-22 20:32:27 -0800 | [diff] [blame] | 17 | |
Sergey Vasilinets | 22b6214 | 2017-11-22 20:32:27 -0800 | [diff] [blame] | 18 | import android.support.DiffAndDocs |
Aurimas Liutikas | 62d3e1d | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 19 | import android.support.gmaven.GMavenVersionChecker |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 20 | import com.android.build.gradle.internal.coverage.JacocoReportTask |
| 21 | import com.android.build.gradle.internal.tasks.DeviceProviderInstrumentTestTask |
Aurimas Liutikas | a015004 | 2017-04-21 09:46:12 -0700 | [diff] [blame] | 22 | import org.gradle.api.logging.configuration.ShowStacktrace |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 23 | |
Aurimas Liutikas | 419f993 | 2017-12-18 12:53:17 -0800 | [diff] [blame] | 24 | import javax.tools.ToolProvider |
| 25 | |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 26 | def supportRoot = ext.supportRootFolder |
| 27 | if (supportRoot == null) { |
| 28 | throw new RuntimeException("variable supportRootFolder is not set. you must set it before" + |
| 29 | " including this script") |
| 30 | } |
| 31 | def init = new Properties() |
| 32 | ext.init = init |
Aurimas Liutikas | 5f3a277 | 2018-01-05 19:07:40 -0800 | [diff] [blame] | 33 | rootProject.ext.versionChecker = new GMavenVersionChecker(rootProject.logger) |
Aurimas Liutikas | 9ab3b4c3 | 2017-04-19 09:33:27 -0700 | [diff] [blame] | 34 | ext.runningInBuildServer = System.env.DIST_DIR != null && System.env.OUT_DIR != null |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 35 | |
| 36 | apply from: "${supportRoot}/buildSrc/dependencies.gradle" |
Aurimas Liutikas | 62d3e1d | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 37 | apply from: "${supportRoot}/buildSrc/build_dependencies.gradle" |
Aurimas Liutikas | a2cbbfa | 2018-01-25 14:42:41 -0800 | [diff] [blame^] | 38 | apply from: "${supportRoot}/buildSrc/unbundled_check.gradle" |
| 39 | |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 40 | |
Sergey Vasilinets | 1638535 | 2017-12-13 16:56:47 -0800 | [diff] [blame] | 41 | def enableDoclavaAndJDiff(p, dacOptions) { |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 42 | p.configurations { |
| 43 | doclava |
| 44 | jdiff |
| 45 | } |
| 46 | |
| 47 | p.dependencies { |
Aurimas Liutikas | 419f993 | 2017-12-18 12:53:17 -0800 | [diff] [blame] | 48 | doclava build_libs.doclava |
| 49 | // tools.jar required for com.sun.javadoc |
| 50 | doclava files(((URLClassLoader) ToolProvider.getSystemToolClassLoader()).getURLs()) |
| 51 | jdiff build_libs.jdiff |
Aurimas Liutikas | 62d3e1d | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 52 | jdiff build_libs.xml_parser_apis |
| 53 | jdiff build_libs.xerces_impl |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 54 | } |
Sergey Vasilinets | 1638535 | 2017-12-13 16:56:47 -0800 | [diff] [blame] | 55 | def allChecks = DiffAndDocs.configureDiffAndDocs(rootProject, supportRootFolder, dacOptions) |
| 56 | createArchive.dependsOn(allChecks) |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 57 | } |
| 58 | |
Aurimas Liutikas | bb78f3f | 2017-06-19 11:30:37 -0700 | [diff] [blame] | 59 | def getFullSdkPath() { |
Aurimas Liutikas | a2cbbfa | 2018-01-25 14:42:41 -0800 | [diff] [blame^] | 60 | if (isUnbundledBuild(ext.supportRootFolder)) { |
| 61 | Properties properties = new Properties() |
| 62 | File propertiesFile = new File('local.properties') |
| 63 | if (propertiesFile.exists()) { |
| 64 | propertiesFile.withInputStream { |
| 65 | properties.load(it) |
| 66 | } |
| 67 | } |
| 68 | File location = findSdkLocation(properties, supportRootFolder) |
| 69 | return location.getAbsolutePath() |
| 70 | } else { |
| 71 | final String osName = System.getProperty("os.name").toLowerCase(); |
| 72 | final boolean isMacOsX = |
| 73 | osName.contains("mac os x") || osName.contains("darwin") || osName.contains("osx"); |
| 74 | final String platform = isMacOsX ? 'darwin' : 'linux' |
| 75 | return "${repos.prebuiltsRoot}/fullsdk-${platform}" |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | /** |
| 80 | * Adapted from com.android.build.gradle.internal.SdkHandler |
| 81 | */ |
| 82 | public static File findSdkLocation(Properties properties, File rootDir) { |
| 83 | String sdkDirProp = properties.getProperty("sdk.dir"); |
| 84 | if (sdkDirProp != null) { |
| 85 | File sdk = new File(sdkDirProp); |
| 86 | if (!sdk.isAbsolute()) { |
| 87 | sdk = new File(rootDir, sdkDirProp); |
| 88 | } |
| 89 | return sdk |
| 90 | } |
| 91 | |
| 92 | sdkDirProp = properties.getProperty("android.dir"); |
| 93 | if (sdkDirProp != null) { |
| 94 | return new File(rootDir, sdkDirProp); |
| 95 | } |
| 96 | |
| 97 | String envVar = System.getenv("ANDROID_HOME"); |
| 98 | if (envVar != null) { |
| 99 | return new File(envVar); |
| 100 | } |
| 101 | |
| 102 | String property = System.getProperty("android.home"); |
| 103 | if (property != null) { |
| 104 | return new File(property); |
| 105 | } |
| 106 | return null; |
Aurimas Liutikas | bb78f3f | 2017-06-19 11:30:37 -0700 | [diff] [blame] | 107 | } |
| 108 | |
| 109 | def setSdkInLocalPropertiesFile() { |
Aurimas Liutikas | 3196ef1 | 2018-01-02 16:02:50 -0800 | [diff] [blame] | 110 | final File fullSdkPath = file(getFullSdkPath()) |
| 111 | if (fullSdkPath.exists()) { |
| 112 | project.ext.fullSdkPath = fullSdkPath |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 113 | File props = file("local.properties") |
Aurimas Liutikas | 3196ef1 | 2018-01-02 16:02:50 -0800 | [diff] [blame] | 114 | props.write "sdk.dir=${fullSdkPath.getAbsolutePath()}" |
Aurimas Liutikas | 3c66600 | 2017-03-08 19:30:28 -0800 | [diff] [blame] | 115 | ext.usingFullSdk = true |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 116 | } else { |
Aurimas Liutikas | 3196ef1 | 2018-01-02 16:02:50 -0800 | [diff] [blame] | 117 | throw Exception("You are using non ub-supportlib-* checkout. You need to check out " |
| 118 | + "ub-supportlib-* to work on support library. See go/supportlib for details.") |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 119 | } |
| 120 | } |
| 121 | |
| 122 | def setupRepoOutAndBuildNumber() { |
Yigit Boyar | ef30066 | 2017-05-01 11:52:07 -0700 | [diff] [blame] | 123 | // common support repo folder which works well for prebuilts. |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 124 | ext.supportRepoOut = '' |
Aurimas Liutikas | 76542da | 2017-06-29 17:00:29 -0700 | [diff] [blame] | 125 | ext.buildNumber = "0" |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 126 | /* |
| 127 | * With the build server you are given two env variables. |
| 128 | * The OUT_DIR is a temporary directory you can use to put things during the build. |
| 129 | * The DIST_DIR is where you want to save things from the build. |
| 130 | * |
| 131 | * The build server will copy the contents of DIST_DIR to somewhere and make it available. |
| 132 | */ |
Yigit Boyar | 7bfacb7 | 2017-03-02 14:27:41 -0800 | [diff] [blame] | 133 | if (ext.runningInBuildServer) { |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 134 | buildDir = new File(System.env.OUT_DIR + '/gradle/frameworks/support/build') |
| 135 | .getCanonicalFile() |
| 136 | project.ext.distDir = new File(System.env.DIST_DIR).getCanonicalFile() |
| 137 | |
| 138 | // the build server does not pass the build number so we infer it from the last folder of |
| 139 | // the dist path. |
| 140 | ext.buildNumber = project.ext.distDir.getName() |
Aurimas Liutikas | a015004 | 2017-04-21 09:46:12 -0700 | [diff] [blame] | 141 | |
| 142 | // the build server should always print out full stack traces for any failures. |
| 143 | gradle.startParameter.showStacktrace = ShowStacktrace.ALWAYS |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 144 | } else { |
| 145 | buildDir = file("${ext.supportRootFolder}/../../out/host/gradle/frameworks/support/build") |
| 146 | project.ext.distDir = new File("${ext.supportRootFolder}/../../out/dist") |
| 147 | } |
| 148 | subprojects { |
| 149 | // Change buildDir first so that all plugins pick up the new value. |
| 150 | project.buildDir = new File("$project.parent.buildDir/../$project.name/build") |
| 151 | } |
| 152 | ext.supportRepoOut = new File(buildDir, 'support_repo') |
| 153 | ext.testApkDistOut = ext.distDir |
Yigit Boyar | 7bfacb7 | 2017-03-02 14:27:41 -0800 | [diff] [blame] | 154 | ext.testResultsDistDir = new File(distDir, "host-test-reports") |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 155 | ext.docsDir = new File(buildDir, 'javadoc') |
| 156 | } |
| 157 | |
Aurimas Liutikas | 38e8f4d9 | 2017-06-16 08:31:03 -0700 | [diff] [blame] | 158 | def configureBuildOnServer() { |
| 159 | def buildOnServerTask = rootProject.tasks.create("buildOnServer") |
| 160 | rootProject.tasks.whenTaskAdded { task -> |
Aurimas Liutikas | 212905f | 2017-10-09 15:28:28 -0700 | [diff] [blame] | 161 | if ("createArchive".equals(task.name) || "distDocs".equals(task.name)) { |
Aurimas Liutikas | 38e8f4d9 | 2017-06-16 08:31:03 -0700 | [diff] [blame] | 162 | buildOnServerTask.dependsOn task |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | subprojects { |
| 167 | project.tasks.whenTaskAdded { task -> |
| 168 | if ("assembleErrorProne".equals(task.name) || "assembleAndroidTest".equals(task.name)) { |
| 169 | buildOnServerTask.dependsOn task |
| 170 | } |
| 171 | } |
| 172 | } |
Aurimas Liutikas | 7cf3497 | 2017-12-18 09:27:47 -0800 | [diff] [blame] | 173 | buildOnServerTask.dependsOn createJacocoAntUberJarTask() |
| 174 | } |
| 175 | |
| 176 | def createJacocoAntUberJarTask() { |
| 177 | def myJacoco = project.configurations.create('myJacoco') |
| 178 | project.dependencies.add('myJacoco', build_libs.jacoco_ant) |
| 179 | |
| 180 | return project.tasks.create( |
| 181 | name: "JacocoAntUberJar", |
| 182 | type: Jar) { |
| 183 | inputs.files myJacoco |
| 184 | from { |
| 185 | myJacoco |
| 186 | .resolvedConfiguration |
| 187 | .resolvedArtifacts.collect{ zipTree(it.getFile()) }} { |
| 188 | // exclude all the signatures the jar might have |
| 189 | exclude "META-INF/*.SF" |
| 190 | exclude "META-INF/*.DSA" |
| 191 | exclude "META-INF/*.RSA" |
| 192 | } |
| 193 | destinationDir file(project.distDir) |
| 194 | archiveName "jacocoant.jar" |
| 195 | } |
Aurimas Liutikas | 38e8f4d9 | 2017-06-16 08:31:03 -0700 | [diff] [blame] | 196 | } |
| 197 | |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 198 | def configureSubProjects() { |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 199 | subprojects { |
Aurimas Liutikas | 6509a1a | 2017-05-09 16:25:43 -0700 | [diff] [blame] | 200 | repos.addMavenRepositories(repositories) |
| 201 | |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 202 | // Only modify Android projects. |
Aurimas Liutikas | 6319e4c | 2017-12-18 21:08:02 -0800 | [diff] [blame] | 203 | if (project.name.equals('noto-emoji-compat')) { |
Yigit Boyar | 7bfacb7 | 2017-03-02 14:27:41 -0800 | [diff] [blame] | 204 | // disable tests and return |
| 205 | project.tasks.whenTaskAdded { task -> |
| 206 | if (task instanceof org.gradle.api.tasks.testing.Test) { |
| 207 | task.enabled = false |
| 208 | } |
| 209 | } |
| 210 | return |
| 211 | } |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 212 | |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 213 | project.plugins.whenPluginAdded { plugin -> |
| 214 | def isAndroidLibrary = "com.android.build.gradle.LibraryPlugin" |
| 215 | .equals(plugin.class.name) |
| 216 | def isAndroidApp = "com.android.build.gradle.AppPlugin".equals(plugin.class.name) |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 217 | |
| 218 | if (isAndroidLibrary || isAndroidApp) { |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 219 | // Enable code coverage for debug builds only if we are not running inside the IDE, |
| 220 | // since enabling coverage reports breaks the method parameter resolution in the IDE |
| 221 | // debugger. |
| 222 | project.android.buildTypes.debug.testCoverageEnabled = |
Sergey Vasilinets | ac8e72b | 2017-04-26 15:55:17 -0700 | [diff] [blame] | 223 | !project.hasProperty('android.injected.invoked.from.ide') |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 224 | |
| 225 | // Copy the class files in a jar to be later used to generate code coverage report |
| 226 | project.android.testVariants.all { v -> |
| 227 | // check if the variant has any source files |
| 228 | // and test coverage is enabled |
| 229 | if (v.buildType.testCoverageEnabled |
| 230 | && v.sourceSets.any { !it.java.sourceFiles.isEmpty() }) { |
| 231 | def jarifyTask = project.tasks.create( |
| 232 | name: "package${v.name.capitalize()}ClassFilesForCoverageReport", |
| 233 | type: Jar) { |
| 234 | from v.testedVariant.javaCompile.destinationDir |
| 235 | exclude "**/R.class" |
| 236 | exclude "**/R\$*.class" |
| 237 | exclude "**/BuildConfig.class" |
| 238 | destinationDir file(project.distDir) |
Aurimas Liutikas | 76542da | 2017-06-29 17:00:29 -0700 | [diff] [blame] | 239 | archiveName "${project.name}-${v.baseName}-allclasses.jar" |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 240 | } |
Aurimas Liutikas | 21b7fce | 2017-06-23 09:52:08 -0700 | [diff] [blame] | 241 | |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 242 | jarifyTask.dependsOn v.getJavaCompiler() |
Aurimas Liutikas | 7cf3497 | 2017-12-18 09:27:47 -0800 | [diff] [blame] | 243 | v.assemble.dependsOn jarifyTask |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 244 | } |
| 245 | } |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 246 | } |
| 247 | } |
| 248 | |
Yigit Boyar | 7bfacb7 | 2017-03-02 14:27:41 -0800 | [diff] [blame] | 249 | // Copy instrumentation test APKs and app APKs into the dist dir |
| 250 | // For test apks, they are uploaded only if we have java test sources. |
| 251 | // For regular app apks, they are uploaded only if they have java sources. |
| 252 | project.tasks.whenTaskAdded { task -> |
| 253 | if (task.name.startsWith("packageDebug")) { |
| 254 | def testApk = task.name.contains("AndroidTest") |
| 255 | task.doLast { |
| 256 | def source = testApk ? project.android.sourceSets.androidTest |
| 257 | : project.android.sourceSets.main |
Yigit Boyar | e606d6d | 2017-09-07 12:37:36 -0700 | [diff] [blame] | 258 | def hasKotlinSources = false |
| 259 | if (source.hasProperty('kotlin')) { |
| 260 | if (!source.kotlin.files.isEmpty()) { |
| 261 | hasKotlinSources = true |
| 262 | } else { |
| 263 | // kotlin files does not show in java sources due to the *.java filter |
| 264 | // so we need to check them manually |
| 265 | hasKotlinSources = source.java.sourceDirectoryTrees.any { |
| 266 | !fileTree(dir: it.dir, include:'**/*.kt').files.isEmpty() |
| 267 | } |
| 268 | } |
| 269 | } |
| 270 | def hasSourceCode = !source.java.sourceFiles.isEmpty() || hasKotlinSources |
| 271 | if (task.hasProperty("outputDirectory") && (hasSourceCode || !testApk)) { |
Yigit Boyar | 7bfacb7 | 2017-03-02 14:27:41 -0800 | [diff] [blame] | 272 | copy { |
Aurimas Liutikas | ef3b492 | 2017-06-28 10:44:59 -0700 | [diff] [blame] | 273 | from(task.outputDirectory) |
| 274 | include '*.apk' |
Yigit Boyar | 7bfacb7 | 2017-03-02 14:27:41 -0800 | [diff] [blame] | 275 | into(rootProject.ext.testApkDistOut) |
| 276 | rename { String fileName -> |
Hyundo Moon | 9938e17 | 2017-07-26 20:51:11 +0900 | [diff] [blame] | 277 | // Exclude media-compat-test-* modules from existing support library |
| 278 | // presubmit tests. |
| 279 | if (fileName.contains("media-compat-test")) { |
| 280 | fileName.replace("-debug-androidTest", "") |
Yigit Boyar | 96a0fcd | 2017-08-25 18:18:28 -0700 | [diff] [blame] | 281 | } else { |
| 282 | // multiple modules may have the same name so prefix the name with |
| 283 | // the module's path to ensure it is unique. |
| 284 | // e.g. palette-v7-debug-androidTest.apk becomes |
| 285 | // support-palette-v7_palette-v7-debug-androidTest.apk |
| 286 | "${project.getPath().replace(':', '-').substring(1)}_${fileName}" |
Hyundo Moon | 9938e17 | 2017-07-26 20:51:11 +0900 | [diff] [blame] | 287 | } |
Yigit Boyar | 7bfacb7 | 2017-03-02 14:27:41 -0800 | [diff] [blame] | 288 | } |
| 289 | } |
| 290 | } |
| 291 | } |
| 292 | } |
| 293 | } |
| 294 | |
| 295 | // copy host side test results to DIST |
| 296 | project.tasks.whenTaskAdded { task -> |
| 297 | if (task instanceof org.gradle.api.tasks.testing.Test) { |
| 298 | def junitReport = task.reports.junitXml |
| 299 | if (junitReport.enabled) { |
| 300 | def zipTask = project.tasks.create(name : "zipResultsOf${task.name.capitalize()}", type : Zip) { |
| 301 | destinationDir(testResultsDistDir) |
Yigit Boyar | 278676d | 2017-03-10 15:29:11 -0800 | [diff] [blame] | 302 | // first one is always :, drop it. |
| 303 | archiveName("${project.getPath().split(":").join("_").substring(1)}.zip") |
Yigit Boyar | 7bfacb7 | 2017-03-02 14:27:41 -0800 | [diff] [blame] | 304 | } |
| 305 | if (project.rootProject.ext.runningInBuildServer) { |
| 306 | task.ignoreFailures = true |
| 307 | } |
| 308 | task.finalizedBy zipTask |
| 309 | task.doFirst { |
| 310 | zipTask.from(junitReport.destination) |
| 311 | } |
| 312 | } |
| 313 | } |
| 314 | } |
| 315 | |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 316 | project.afterEvaluate { p -> |
| 317 | // remove dependency on the test so that we still get coverage even if some tests fail |
| 318 | p.tasks.findAll { it instanceof JacocoReportTask }.each { task -> |
| 319 | def toBeRemoved = new ArrayList() |
| 320 | def dependencyList = task.taskDependencies.values |
| 321 | dependencyList.each { dep -> |
| 322 | if (dep instanceof String) { |
| 323 | def t = tasks.findByName(dep) |
| 324 | if (t instanceof DeviceProviderInstrumentTestTask) { |
| 325 | toBeRemoved.add(dep) |
| 326 | task.mustRunAfter(t) |
| 327 | } |
| 328 | } |
| 329 | } |
| 330 | toBeRemoved.each { dep -> |
| 331 | dependencyList.remove(dep) |
| 332 | } |
| 333 | } |
| 334 | } |
| 335 | } |
| 336 | } |
| 337 | |
| 338 | def setupRelease() { |
| 339 | apply from: "${ext.supportRootFolder}/buildSrc/release.gradle" |
| 340 | } |
| 341 | |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 342 | ext.init.enableDoclavaAndJDiff = this.&enableDoclavaAndJDiff |
| 343 | ext.init.setSdkInLocalPropertiesFile = this.&setSdkInLocalPropertiesFile |
| 344 | ext.init.setupRepoOutAndBuildNumber = this.&setupRepoOutAndBuildNumber |
| 345 | ext.init.setupRelease = this.&setupRelease |
Aurimas Liutikas | 38e8f4d9 | 2017-06-16 08:31:03 -0700 | [diff] [blame] | 346 | ext.init.configureSubProjects = this.&configureSubProjects |
Yigit Boyar | e1bbf71 | 2017-03-08 13:52:37 -0800 | [diff] [blame] | 347 | ext.init.configureBuildOnServer = this.&configureBuildOnServer |