Skip to content

Commit

Permalink
version bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
asm0dey committed Jun 6, 2023
1 parent 3e43f8e commit 8fb0207
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 52 deletions.
72 changes: 21 additions & 51 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,45 +1,42 @@
buildscript {
ext {
atrium_version = '0.12.0'
kotest_version = "4.2.0.RC2"
atrium_version = '0.16.0'
kotest_version = "4.4.3"
}
}

plugins {
id 'org.jetbrains.kotlin.jvm' version '1.4.21'
id 'info.solidsoft.pitest' version '1.5.2'
id 'maven'
id "io.gitlab.arturbosch.detekt" version "1.14.1"
id "org.jetbrains.dokka" version "1.4.20"
id 'org.jetbrains.kotlin.jvm' version '1.8.21'
id 'info.solidsoft.pitest' version '1.6.0'
id "org.jetbrains.dokka" version "1.8.20"
id "com.github.ben-manes.versions" version "0.38.0"
// publishing
id 'maven-publish'
id "io.codearte.nexus-staging" version "0.22.0"
id "io.codearte.nexus-staging" version "0.30.0"
id 'signing'
id "de.marcphilipp.nexus-publish" version "0.3.0"
id "de.marcphilipp.nexus-publish" version "0.4.0"
}

group 'com.github.asm0dey'
version '0.0.1'
version '0.0.2'

repositories {
mavenCentral()
jcenter()
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation 'com.fasterxml.woodstox:woodstox-core:6.2.3'
testImplementation "io.kotest:kotest-runner-junit5:$kotest_version"
testImplementation "ch.tutteli.atrium:atrium-infix-en_GB:$atrium_version"
testImplementation "io.kotest:kotest-plugins-pitest:$kotest_version"
}

compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}

compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
implementation "org.jetbrains.kotlin:kotlin-stdlib"
implementation 'com.fasterxml.woodstox:woodstox-core:6.2.6'
testImplementation "org.jetbrains.kotlin:kotlin-reflect"
testImplementation ("io.kotest:kotest-runner-junit5:$kotest_version"){
exclude group: "org.jetbrains.kotlin"
}
testImplementation("ch.tutteli.atrium:atrium-infix-en_GB:$atrium_version"){
exclude group: "org.jetbrains.kotlin"
}
testImplementation ("io.kotest:kotest-plugins-pitest:$kotest_version"){
exclude group: "org.jetbrains.kotlin"
}
}

test {
Expand All @@ -54,42 +51,15 @@ pitest {
avoidCallsTo = ["kotlin.jvm.internal", "kotlinx.coroutines"]
}

detekt {
parallel = false
config = files "code_quality_tools/detekt.yml"
reports {
xml { enabled = true }
html { enabled = true }
}
}

tasks.detekt.jvmTarget = "1.8"

task javadocJar(type: Jar, dependsOn: dokkaJavadoc) {
classifier = 'javadoc'
from "$buildDir/dokka/javadoc"
}

task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}

artifacts {
archives jar
archives sourcesJar
archives javadocJar
}

publishing {
publications {
mavenJava(MavenPublication) {
artifact(sourcesJar) {
classifier = 'sources'
}
artifact(javadocJar) {
classifier = 'javadoc'
}
pom {
groupId = 'com.github.asm0dey'
artifactId = 'staks'
Expand Down
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-6.9.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 8fb0207

Please sign in to comment.