2019-01-07 21:47:47 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
plugins {
|
2022-08-02 09:19:16 +00:00
|
|
|
id "org.gradle.kotlin.kotlin-dsl" version "2.4.1"
|
2019-01-07 21:47:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
2021-03-17 13:51:05 +00:00
|
|
|
if (project.hasProperty("centralRepo")) {
|
|
|
|
maven {
|
|
|
|
name "MavenCentral"
|
|
|
|
url project.property("centralRepo")
|
2021-07-22 16:28:06 +00:00
|
|
|
allowInsecureProtocol true // Local Nexus in CI uses HTTP
|
2021-03-17 13:51:05 +00:00
|
|
|
}
|
|
|
|
} else {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
2019-01-07 21:47:47 +00:00
|
|
|
}
|
2021-11-24 17:52:02 +00:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation "org.json:json:20210307"
|
|
|
|
}
|