Browse Source

update version numbers & migrate dependencies

main 0.0.2
James Fenn 1 month ago
parent
commit
602f5f4ebe
4 changed files with 10 additions and 12 deletions
  1. +7
    -8
      build.gradle
  2. +1
    -1
      docs/build.gradle
  3. +1
    -2
      example/build.gradle
  4. +1
    -1
      gradle/wrapper/gradle-wrapper.properties

+ 7
- 8
build.gradle View File

@@ -1,18 +1,16 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.72'
ext.ktor_version = '1.3.2'
ext.serialization_version = '0.20.0'
ext.kotlin_version = '1.5.0'
ext.ktor_version = '1.4.3'
ext.serialization_version = '0.2.1'

repositories {
google()
jcenter()
mavenCentral()
maven { url "https://kotlin.bintray.com/kotlinx" }
maven { url "https://plugins.gradle.org/m2/" }
}

dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"

@@ -23,8 +21,9 @@ buildscript {

allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url "https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven" }
maven { url "https://kotlin.bintray.com/kotlinx" }
maven { url 'https://kotlin.bintray.com/ktor' }
}
}

+ 1
- 1
docs/build.gradle View File

@@ -15,7 +15,7 @@ dependencies {
implementation "io.ktor:ktor-server-core:$ktor_version"
implementation "io.ktor:ktor-auth:$ktor_version"

implementation "org.jetbrains.kotlinx:kotlinx-html-jvm:0.7.1"
implementation "org.jetbrains.kotlinx:kotlinx-html-jvm:0.7.3"

implementation "com.atlassian.commonmark:commonmark:0.15.2"
}

+ 1
- 2
example/build.gradle View File

@@ -2,7 +2,7 @@ apply plugin: 'kotlin'
apply plugin: 'application'

group 'me.jfenn'
version '0.0.1'
version '0.0.2'
mainClassName = "io.ktor.server.netty.EngineMain"

sourceSets {
@@ -16,7 +16,6 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "io.ktor:ktor-server-netty:$ktor_version"
implementation "io.ktor:ktor-auth:$ktor_version"
implementation "ch.qos.logback:logback-classic:$logback_version"
testImplementation "io.ktor:ktor-server-tests:$ktor_version"

implementation project(':docs')


+ 1
- 1
gradle/wrapper/gradle-wrapper.properties View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

Loading…
Cancel
Save