-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): Updated Kotlin from v1.7.0 to v1.9.10, Gradle from v6.7.… (
#1379) …1 to v8.3 and upgraded linter (#1343) * chore(deps): Updated Kotlin from v1.7.0 to v1.9.10, Gradle from v6.7.1 to v8.3 and upgraded linter * chore(deps): upgraded kotlin linter formatted code * chore(deps): Updated Kotlin from v1.7.0 to v1.9.10, Gradle from v6.7.1 to v8.3 and upgraded linter adding foojay-resolver-convention gradle plugin * chore(deps): Updated Kotlin from v1.7.0 to v1.9.10, Gradle from v6.7.1 to v8.3 and upgraded linter setting gradle jvm toolchain version from 8 to 17 * chore(deps): upgraded kotlin linter formatted code from #1343
- Loading branch information
Showing
19 changed files
with
5,756 additions
and
5,435 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
group = "com.looker.sdk" | ||
defaultTasks = mutableListOf("jar") | ||
|
||
val kotlinVersion = providers.gradleProperty("kotlinVersion").get() | ||
val googleHttpVersion = providers.gradleProperty("googleHttpVersion").get() | ||
|
||
plugins { | ||
kotlin("jvm") | ||
id("com.diffplug.spotless") | ||
} | ||
|
||
sourceSets { | ||
main { | ||
kotlin { | ||
setSrcDirs(listOf("src/main/")) | ||
} | ||
} | ||
test { | ||
kotlin { | ||
setSrcDirs(listOf("src/test")) | ||
} | ||
} | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
maven { url = uri("https://dl.bintray.com/kotlin/ktor") } | ||
maven { url = uri("https://dl.bintray.com/kotlin/kotlinx") } | ||
maven { url = uri("https://jitpack.io") } | ||
} | ||
|
||
dependencies { | ||
implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion") | ||
|
||
implementation("io.github.cdimascio:dotenv-kotlin:6.2.2") | ||
implementation("org.ini4j:ini4j:0.5.4") | ||
|
||
implementation("commons-configuration:commons-configuration:1.10") | ||
|
||
implementation(platform("com.google.http-client:google-http-client-bom:$googleHttpVersion")) | ||
implementation("com.google.http-client:google-http-client") | ||
implementation("com.google.http-client:google-http-client-apache-v2") | ||
implementation("com.google.http-client:google-http-client-gson") | ||
|
||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4") | ||
implementation("com.google.code.gson:gson:2.8.5") | ||
|
||
testImplementation("org.junit.jupiter:junit-jupiter-api:5.3.1") | ||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.3.1") | ||
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlinVersion") | ||
} | ||
|
||
spotless { | ||
kotlin { | ||
ktlint("0.50.0").setEditorConfigPath("$projectDir/../.editorconfig") | ||
} | ||
} | ||
|
||
kotlin { | ||
jvmToolchain(17) | ||
} | ||
|
||
tasks.test { | ||
testLogging { | ||
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
kotlinVersion=1.7.10 | ||
kotlinVersion=1.9.10 | ||
googleHttpVersion=1.43.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
rootProject.name = "looker-kotlin-sdk" | ||
|
||
pluginManagement { | ||
val kotlinVersion = providers.gradleProperty("kotlinVersion").get() | ||
plugins { | ||
kotlin("jvm") version kotlinVersion | ||
id("com.diffplug.spotless") version "6.20.0" | ||
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.