1975df9ddSRobert Muir/* 2975df9ddSRobert Muir * Licensed to the Apache Software Foundation (ASF) under one or more 3975df9ddSRobert Muir * contributor license agreements. See the NOTICE file distributed with 4975df9ddSRobert Muir * this work for additional information regarding copyright ownership. 5975df9ddSRobert Muir * The ASF licenses this file to You under the Apache License, Version 2.0 6975df9ddSRobert Muir * (the "License"); you may not use this file except in compliance with 7975df9ddSRobert Muir * the License. You may obtain a copy of the License at 8975df9ddSRobert Muir * 9975df9ddSRobert Muir * http://www.apache.org/licenses/LICENSE-2.0 10975df9ddSRobert Muir * 11975df9ddSRobert Muir * Unless required by applicable law or agreed to in writing, software 12975df9ddSRobert Muir * distributed under the License is distributed on an "AS IS" BASIS, 13975df9ddSRobert Muir * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14975df9ddSRobert Muir * See the License for the specific language governing permissions and 15975df9ddSRobert Muir * limitations under the License. 16975df9ddSRobert Muir */ 17975df9ddSRobert Muir 18e3ae57a3SDawid Weissrepositories { 19e3ae57a3SDawid Weiss mavenCentral() 20e3ae57a3SDawid Weiss} 21e3ae57a3SDawid Weiss 22b016c8dcSDawid Weissext { 23b016c8dcSDawid Weiss // Minimum Java version required to compile buildSrc. 24*e7212fa4SDawid Weiss minJavaVersion = JavaVersion.VERSION_17 25b016c8dcSDawid Weiss} 26b016c8dcSDawid Weiss 27b016c8dcSDawid Weiss 28fbf9191aSDawid Weiss// Make sure the build environment is consistent. 29fbf9191aSDawid Weissapply from: file('../gradle/validation/check-environment.gradle') 30fbf9191aSDawid Weiss 31fbf9191aSDawid Weiss// Load common buildSrc and script deps. 32fbf9191aSDawid Weissapply from: file("scriptDepVersions.gradle") 33e3ae57a3SDawid Weiss 3414dd5a5eSDawid Weissdependencies { 3514dd5a5eSDawid Weiss implementation gradleApi() 3614dd5a5eSDawid Weiss implementation localGroovy() 37e3ae57a3SDawid Weiss 38e3ae57a3SDawid Weiss implementation "commons-codec:commons-codec:${scriptDepVersions['commons-codec']}" 3914dd5a5eSDawid Weiss} 40e3ae57a3SDawid Weiss 41