diff --git a/.idea/compiler.xml b/.idea/compiler.xml
index e78dd81..91bada8 100644
--- a/.idea/compiler.xml
+++ b/.idea/compiler.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
index fdc392f..d20b597 100644
--- a/.idea/jarRepositories.xml
+++ b/.idea/jarRepositories.xml
@@ -16,5 +16,10 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 655dfee..5afdd25 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -7,7 +7,7 @@
-
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 85724c5..3a31c6f 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -46,7 +46,7 @@
-
+
@@ -127,6 +127,7 @@
+
diff --git a/build.gradle b/build.gradle
deleted file mode 100644
index bbe7d59..0000000
--- a/build.gradle
+++ /dev/null
@@ -1,28 +0,0 @@
-plugins {
- id 'java'
- id 'org.jetbrains.kotlin.jvm' version '1.3.31'
-}
-
-group 'com.philjay.jwt'
-version '1.2.0'
-
-sourceCompatibility = 1.8
-
-repositories {
- mavenCentral()
-}
-
-dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
- testCompile group: 'junit', name: 'junit', version: '4.12'
-
- testCompile 'com.google.code.gson:gson:2.9.0'
- testCompile 'commons-codec:commons-codec:1.14'
-}
-
-compileKotlin {
- kotlinOptions.jvmTarget = "1.8"
-}
-compileTestKotlin {
- kotlinOptions.jvmTarget = "1.8"
-}
\ No newline at end of file
diff --git a/build.gradle.kts b/build.gradle.kts
new file mode 100644
index 0000000..5494e7b
--- /dev/null
+++ b/build.gradle.kts
@@ -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 {
+ kotlinOptions {
+ jvmTarget = "14"
+ }
+}
\ No newline at end of file
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index a392fc8..acb687f 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -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