Skip to content

Commit

Permalink
Start using blowdryer to publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Dec 12, 2023
1 parent 2c1e25c commit 1b96afb
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 6 deletions.
9 changes: 6 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
license=apache
git_url=github.com/diffplug/selfie
maven_group=com.diffplug.selfie
javadoc_links=

ver_JUNIT_API=5.0.0
ver_JUNIT_USE=5.10.0
ver_JUNIT_PIONEER=2.0.1
ver_OKIO=3.5.0
ver_JUNIT_USE=5.10.1
ver_JUNIT_PIONEER=2.1.0
ver_OKIO=3.6.0
ver_KOTLIN_TEST=1.9.10
ver_KOTEST=5.6.2
12 changes: 11 additions & 1 deletion selfie-lib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
plugins {
id 'org.jetbrains.kotlin.multiplatform'
id 'maven-publish'
}

repositories {
mavenCentral()
}
ext {
maven_name = 'selfie-lib'
maven_desc = 'Core logic and parsing for Selfie'
}

apply from: rootProject.file('gradle/spotless.gradle')
kotlin {
jvm {
Expand All @@ -30,4 +36,8 @@ kotlin {
// the normal `test` task doesn't work for multiplatform projects
tasks.create('test') {
dependsOn('jvmTest')
}
}

// it all needs to get published and formatted
apply from: 干.file('base/maven.gradle')
apply from: 干.file('base/sonatype.gradle')
20 changes: 18 additions & 2 deletions selfie-runner-junit5/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,37 @@ plugins {
repositories {
mavenCentral()
}
ext {
maven_name = 'selfie-runner-junit5'
maven_desc = 'JUnit 5 test runner for Selfie'
}

apply from: rootProject.file('gradle/spotless.gradle')
apply plugin: 'java-library'
dependencies {
api project(':selfie-lib')
// see if we can drop this down to 1.0.0
implementation 'org.junit.platform:junit-platform-launcher:1.10.0'
implementation 'org.junit.platform:junit-platform-launcher:1.10.1'
compileOnly "org.junit.jupiter:junit-jupiter-api:$ver_JUNIT_API"
// jsoup
compileOnly 'org.jsoup:jsoup:1.17.1'
testImplementation 'org.jsoup:jsoup:1.17.1'
// flexmark
compileOnly 'com.vladsch.flexmark:flexmark-html2md-converter:0.64.8'
testImplementation 'com.vladsch.flexmark:flexmark-html2md-converter:0.64.8'

testImplementation "com.squareup.okio:okio:$ver_OKIO"
testImplementation "org.jetbrains.kotlin:kotlin-test-junit5:$ver_KOTLIN_TEST"
testImplementation "io.kotest:kotest-assertions-core:$ver_KOTEST"
testImplementation "org.junit.jupiter:junit-jupiter:$ver_JUNIT_USE"
testImplementation "org.junit-pioneer:junit-pioneer:$ver_JUNIT_PIONEER"

testImplementation gradleTestKit()
}
test {
useJUnitPlatform()
}
}

// it all needs to get published and formatted
apply from: 干.file('base/maven.gradle')
apply from: 干.file('base/sonatype.gradle')

0 comments on commit 1b96afb

Please sign in to comment.