Skip to content

Commit

Permalink
Dependency cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
slisaasquatch committed Jan 5, 2024
1 parent 6ac8312 commit f271939
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 56 deletions.
56 changes: 20 additions & 36 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,51 +1,35 @@
/*
* This file was generated by the Gradle 'init' task.
*/

plugins {
id 'java-library'
id 'maven-publish'
}

group = 'com.saasquatch'
version = '0.0.6-SNAPSHOT'

tasks.compileJava.options.encoding = 'UTF-8'
tasks.compileTestJava.options.encoding = 'UTF-8'
tasks.javadoc.options.encoding = 'UTF-8'

repositories {
mavenLocal()
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}

dependencies {
api libs.org.apache.httpcomponents.client5.httpclient5
api libs.org.apache.httpcomponents.core5.httpcore5.reactive
api libs.io.reactivex.rxjava3.rxjava
api libs.com.google.code.findbugs.jsr305
testImplementation libs.org.junit.jupiter.junit.jupiter.api
testImplementation libs.org.junit.jupiter.junit.jupiter.engine
testImplementation libs.org.slf4j.slf4j.simple
api 'org.apache.httpcomponents.client5:httpclient5:5.3'
api 'org.apache.httpcomponents.core5:httpcore5-reactive:5.2.4'
api 'org.reactivestreams:reactive-streams:1.0.4'
implementation 'io.reactivex.rxjava3:rxjava:3.1.8'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.1'
testImplementation 'org.slf4j:slf4j-simple:2.0.10'
}

group = 'com.saasquatch'
version = '0.0.6-SNAPSHOT'
description = 'apache-client5-reactive'
java.sourceCompatibility = JavaVersion.VERSION_1_8

java {
withSourcesJar()
withJavadocJar()
test {
useJUnitPlatform()
}

publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(8))
}
}

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}

tasks.withType(Javadoc) {
options.encoding = 'UTF-8'
}
20 changes: 0 additions & 20 deletions gradle/libs.versions.toml

This file was deleted.

0 comments on commit f271939

Please sign in to comment.