Skip to content

Commit

Permalink
Upgrade to Kotlin 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ericjesse committed May 27, 2023
1 parent 1339fbd commit 80aaa20
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 15 deletions.
27 changes: 16 additions & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,25 @@
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
import org.gradle.api.tasks.testing.logging.TestLogEvent.*
import org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED
import org.gradle.api.tasks.testing.logging.TestLogEvent.PASSED
import org.gradle.api.tasks.testing.logging.TestLogEvent.SKIPPED
import org.gradle.api.tasks.testing.logging.TestLogEvent.STANDARD_ERROR
import org.gradle.api.tasks.testing.logging.TestLogEvent.STANDARD_OUT
import org.gradle.api.tasks.testing.logging.TestLogEvent.STARTED

plugins {
java
kotlin("jvm") version "1.4.31"
kotlin("kapt") version "1.4.31"
kotlin("jvm") version "1.8.0"
kotlin("kapt") version "1.8.0"
id("net.ltgt.apt") version "0.21" apply false

id("nebula.contacts") version "5.1.0"
id("nebula.info") version "9.1.1"
id("nebula.maven-publish") version "17.3.3"
id("nebula.maven-scm") version "17.3.3"
id("nebula.maven-manifest") version "17.3.3"
id("nebula.maven-apache-license") version "17.3.3"
id("nebula.contacts") version "6.0.0"
id("nebula.info") version "11.4.1"
id("nebula.maven-publish") version "18.4.0"
id("nebula.maven-scm") version "18.4.0"
id("nebula.maven-manifest") version "18.4.0"
id("nebula.maven-apache-license") version "18.4.0"
signing

id("org.sonarqube") version "3.3"
Expand All @@ -35,8 +40,8 @@ tasks.withType<Wrapper> {
distributionType = Wrapper.DistributionType.BIN
}

val target = JavaVersion.VERSION_1_8
val kotlinCompileTarget = "1.8"
val target = JavaVersion.VERSION_11
val kotlinCompileTarget = "11"

allprojects {
group = "io.aeris-consulting"
Expand Down
3 changes: 2 additions & 1 deletion catadioptre-annotations/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ dependencies {
compileOnly(kotlin("stdlib"))
compileOnly(project(":catadioptre-kotlin"))
implementation(project(":catadioptre-java"))
implementation("com.squareup:kotlinpoet:1.10.2")
implementation("com.squareup:kotlinpoet:1.13.2")
implementation("com.squareup:kotlinpoet-classinspector-elements:1.9.0")
implementation("com.squareup:kotlinpoet-metadata-specs:1.9.0")
implementation("com.squareup:javapoet:1.13.0")
implementation("org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.5.0")
}
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
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-7.1.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ case "`uname`" in
Darwin* )
darwin=true
;;
MINGW* )
MSYS* | MINGW* )
msys=true
;;
NONSTOP* )
Expand Down
2 changes: 1 addition & 1 deletion project.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.2
0.5.0

0 comments on commit 80aaa20

Please sign in to comment.