Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Taskeren committed Aug 13, 2022
1 parent a5a72ae commit 7808aac
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 147 deletions.
73 changes: 0 additions & 73 deletions .classpath

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@

# Ignore Gradle build output directory
build
.idea
22 changes: 0 additions & 22 deletions .project

This file was deleted.

2 changes: 0 additions & 2 deletions .settings/org.eclipse.buildship.core.prefs

This file was deleted.

13 changes: 0 additions & 13 deletions .settings/org.eclipse.jdt.core.prefs

This file was deleted.

36 changes: 0 additions & 36 deletions build.gradle

This file was deleted.

41 changes: 41 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

plugins {
java
`maven-publish`
}

version = "1.1"

repositories {
mavenCentral()
}

dependencies {
implementation("com.google.guava:guava:27.0.1-jre")
implementation("commons-io:commons-io:2.4")
testImplementation("junit:junit:4.12")
}

publishing {
publications {
create<MavenPublication>("maven") {
groupId = "com.github.taskeren"
artifactId = "tconfig"
version = "${project.version}"

from(components["java"])
}
}

repositories {
maven {
url = if(!"$version".endsWith("SNAPSHOT")) {
uri("https://play.elytra.cn:11443/releases")
} else {
uri("https://play.elytra.cn:11443/snapshots")
}

credentials(PasswordCredentials::class)
}
}
}
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
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-5.2.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 7808aac

Please sign in to comment.