Skip to content

Commit

Permalink
cleanup kotlin deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan-Olav Eide committed Sep 2, 2024
1 parent 5012478 commit ab0979d
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 135 deletions.
50 changes: 20 additions & 30 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</modules>
<properties>
<dokka.version>1.9.20</dokka.version>
<kotlin.version>2.0.20</kotlin.version>
<kotlin.version>1.9.25</kotlin.version>
<kotlin-coroutines.version>1.6.2</kotlin-coroutines.version>
<doclint>none</doclint>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
Expand All @@ -60,11 +60,10 @@
<okhttp3.version>4.12.0</okhttp3.version>
<ktor.version>2.3.12</ktor.version>
<kotlin.code.style>official</kotlin.code.style>
<kotlin.version>2.0.20</kotlin.version>
<mock-oauth2-server.version>2.1.9</mock-oauth2-server.version>
<nimbus.jose.jwt.version>9.40</nimbus.jose.jwt.version>
<kotest.version>5.9.1</kotest.version>
<kotlin.compiler.jvmTarget>17</kotlin.compiler.jvmTarget>
<kotlin.compiler.jvmTarget>21</kotlin.compiler.jvmTarget>
</properties>
<scm>
<url>https://github.com/navikt/token-support</url>
Expand Down Expand Up @@ -169,22 +168,6 @@
</plugins>
</build>
<profiles>
<!--
<profile>
<id>local</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.0</version>
</plugin>
</plugins>
</build>
</profile>-->
<profile>
<id>github</id>
<activation>
Expand Down Expand Up @@ -398,20 +381,27 @@
<version>${kotest.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test</artifactId>
<version>${kotlin.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test-junit5</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions token-client-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-kotlin</artifactId>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>${kotlin.version}</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
Expand Down
10 changes: 0 additions & 10 deletions token-client-kotlin-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<kotlin.code.style>official</kotlin.code.style>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<main.class>io.ktor.server.netty.EngineMain</main.class>
<kotlin.compiler.jvmTarget>21</kotlin.compiler.jvmTarget>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -63,15 +62,6 @@
<artifactId>token-validation-ktor-v2</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-client-core</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions token-client-spring-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>${kotlin.version}</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
Expand Down
13 changes: 0 additions & 13 deletions token-client-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,6 @@

<artifactId>token-client-spring</artifactId>
<dependencies>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>no.nav.security</groupId>
<artifactId>token-validation-core</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions token-validation-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@
<artifactId>mockwebserver</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>${kotlin.version}</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
Expand Down
16 changes: 0 additions & 16 deletions token-validation-ktor-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,6 @@
<artifactId>ktor-client-content-negotiation</artifactId>
<version>2.2.4</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-server-auth-jvm</artifactId>
Expand All @@ -50,12 +40,6 @@
<version>${mock-oauth2-server.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test-junit</artifactId>
<version>${kotlin.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-server-test-host</artifactId>
Expand Down
16 changes: 0 additions & 16 deletions token-validation-ktor-v2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@
<groupId>${project.groupId}</groupId>
<artifactId>token-validation-core</artifactId>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-server</artifactId>
Expand All @@ -35,12 +25,6 @@
<version>${ktor.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test-junit5</artifactId>
<version>${kotlin.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-server-test-host-jvm</artifactId>
Expand Down
16 changes: 0 additions & 16 deletions token-validation-spring-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@

<artifactId>token-validation-spring-test</artifactId>

<properties>
<kotlin.version>2.0.20</kotlin.version>
</properties>


<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down Expand Up @@ -46,17 +41,6 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test-junit</artifactId>
<version>${kotlin.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
Expand Down
19 changes: 0 additions & 19 deletions token-validation-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,7 @@
</parent>
<artifactId>token-validation-spring</artifactId>
<name>token-validation-spring</name>
<properties>
<kotlin.version>2.0.20</kotlin.version>
</properties>
<dependencies>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test-junit</artifactId>
<version>${kotlin.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>token-validation-core</artifactId>
Expand Down

0 comments on commit ab0979d

Please sign in to comment.