Skip to content

Commit

Permalink
chore: update build system to remove hardcoded maven urls (#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
wooj2 authored Dec 14, 2021
1 parent 60fe437 commit 18d51fa
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

plugins {
kotlin("jvm") version "1.5.0" apply false
kotlin("jvm") version "1.5.31" apply false
id("org.jetbrains.dokka")
}

allprojects {
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
}

Expand Down
3 changes: 2 additions & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ plugins {
}

repositories {
jcenter()
mavenLocal()
mavenCentral()
}
7 changes: 5 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@ kotlin.code.style=official

# codegen
smithyVersion=1.13.1
smithyGradleVersion=0.5.3

smithySwiftVersion = 0.1.0

# kotlin
kotlinVersion=1.5.0
kotlinVersion=1.5.31
dokkaVersion=1.5.31
kotlin.native.ignoreDisabledTargets=true


# testing/utility
kotlinxBenchmarkVersion=0.3.1

# FIXME - junit5 not working
ktlintVersion=0.40.0
kotestVersion=4.0.5
Expand Down
17 changes: 14 additions & 3 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,22 @@

pluginManagement {
repositories {
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") }
maven { url = uri("https://kotlin.bintray.com/kotlinx") }

mavenCentral()
maven("https://plugins.gradle.org/m2/")
google()
gradlePluginPortal()
}

plugins {
val kotlinVersion: String by settings
val dokkaVersion: String by settings
val kotlinxBenchmarkVersion: String by settings
val smithyGradleVersion: String by settings
id("org.jetbrains.dokka") version dokkaVersion
id("org.jetbrains.kotlin.jvm") version kotlinVersion
id("org.jetbrains.kotlinx.benchmark") version kotlinxBenchmarkVersion
id("software.amazon.smithy") version smithyGradleVersion
}
}

rootProject.name = "aws-sdk-swift"
Expand Down

0 comments on commit 18d51fa

Please sign in to comment.