Skip to content

Commit

Permalink
Merge pull request #33 from usefulness/update_starter
Browse files Browse the repository at this point in the history
Update starter, fix gradle 8.0 deprecation warnings
  • Loading branch information
mateuszkwiecinski authored May 1, 2021
2 parents e3964bd + c4b1a8c commit 2fc59d6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Additionally, it exposes a fat Jar which serves as a CLI.

The core dependency is available under:
```groovy
repositories.mavenCenral()
repositories.mavenCentral()
dependencies {
implementation("com.github.usefulness:issuechecker:x.y.z")
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
id 'com.starter.config' version '0.25.0'
id 'com.starter.versioning' version '0.25.0'
id 'com.starter.config' version '0.26.2'
id 'com.starter.versioning' version '0.26.2'
}

commonConfig {
Expand All @@ -12,7 +12,7 @@ commonConfig {
allprojects {
tasks.withType(KotlinCompile).configureEach {
kotlinOptions {
apiVersion = '1.3'
apiVersion = '1.4'
}
}

Expand Down
3 changes: 1 addition & 2 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
plugins {
id 'java-gradle-plugin'
id "org.jmailen.kotlinter" version "3.4.3"
id 'org.jetbrains.kotlin.jvm' version '1.4.32'
id 'org.jetbrains.kotlin.jvm' version '1.5.0'
}

repositories {
google()
gradlePluginPortal()
}

Expand Down
10 changes: 1 addition & 9 deletions issuechecker/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
id 'com.starter.library.kotlin' version '0.25.0'
id 'com.starter.library.kotlin' version '0.26.2'
id 'kotlin-kapt'
id 'com.starter.publishing'
}
Expand All @@ -13,12 +11,6 @@ test {
}
}

tasks.withType(KotlinCompile).configureEach {
kotlinOptions {
freeCompilerArgs += "-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi"
}
}

dependencies {
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3"
api "com.squareup.okhttp3:okhttp:4.9.1"
Expand Down
2 changes: 1 addition & 1 deletion issuechecker/cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

application {
mainClassName = "com.project.starter.issuechecker.cli.Main"
mainClass.set("com.project.starter.issuechecker.cli.Main")
}

test {
Expand Down

0 comments on commit 2fc59d6

Please sign in to comment.