Skip to content

Commit

Permalink
Move to build.gradle.kts & Java 14
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Jahoda committed Mar 3, 2022
1 parent 7c6df5f commit d27eabd
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 0 additions & 28 deletions build.gradle

This file was deleted.

26 changes: 26 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
plugins {
java
kotlin("jvm") version "1.6.0"
}

group = "com.philjay.jwt"
version = "1.2.1"
description = "JWT"
java.sourceCompatibility = JavaVersion.VERSION_14

repositories {
mavenLocal()
mavenCentral()
}

dependencies {
testImplementation("junit:junit:4.13.2")
testImplementation("com.google.code.gson:gson:2.9.0")
testImplementation("commons-codec:commons-codec:1.14")
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "14"
}
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip

0 comments on commit d27eabd

Please sign in to comment.