1
0
mirror of https://github.com/google/nomulus synced 2026-01-07 14:05:44 +00:00

Upgrade to Gradle 7.0 (#1712)

* Convert to gradle 7.

* More fixes, regenerated lockfiles.

* Update lockfiles for dependency update.

* Fix show_upgrade_diff for new lockfile format

* Add property for allowInsecureProtocol

Allow us to override the restriction against use of plain HTTP for
communication to dependency repositories.  We need this to be able to use a
local proxy for dependency gathering.

* Checking in missing gradle.lockfile
This commit is contained in:
Michael Muller
2022-07-26 11:41:27 -04:00
committed by GitHub
parent 40c58bb6f3
commit 8007a75c32
349 changed files with 3999 additions and 26646 deletions

View File

@@ -12,12 +12,16 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Alias this since it collides with the closure variable name.
def allowInsecure = allowInsecureProtocol
if (!pluginsUrl.isEmpty()) {
println "Plugins: Using repo $pluginsUrl..."
pluginManagement {
repositories {
maven {
url pluginsUrl
allowInsecureProtocol = allowInsecure == "true"
}
}
}