mirror of
				https://github.com/LamGC/ScalaBot.git
				synced 2025-11-03 18:16:53 +00:00 
			
		
		
		
	Bumps [commons-codec:commons-codec](https://github.com/apache/commons-codec) from 1.15 to 1.16.0. - [Changelog](https://github.com/apache/commons-codec/blob/master/RELEASE-NOTES.txt) - [Commits](https://github.com/apache/commons-codec/compare/rel/commons-codec-1.15...rel/commons-codec-1.16.0) --- updated-dependencies: - dependency-name: commons-codec:commons-codec dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
		
			
				
	
	
		
			110 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			110 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
plugins {
 | 
						|
    `java-library`
 | 
						|
    jacoco
 | 
						|
    `maven-publish`
 | 
						|
    signing
 | 
						|
    id("org.jetbrains.kotlinx.binary-compatibility-validator")
 | 
						|
}
 | 
						|
 | 
						|
dependencies {
 | 
						|
    implementation("commons-codec:commons-codec:1.16.0")
 | 
						|
    api("org.telegram:telegrambots-abilities:6.7.0")
 | 
						|
 | 
						|
    testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.3")
 | 
						|
    testImplementation("org.mockito:mockito-core:5.3.1")
 | 
						|
    testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
 | 
						|
}
 | 
						|
 | 
						|
tasks.withType<Javadoc> {
 | 
						|
    options {
 | 
						|
        encoding = "UTF-8"
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
java {
 | 
						|
    withJavadocJar()
 | 
						|
    withSourcesJar()
 | 
						|
    sourceCompatibility = JavaVersion.VERSION_11
 | 
						|
    targetCompatibility = JavaVersion.VERSION_11
 | 
						|
}
 | 
						|
 | 
						|
tasks.test {
 | 
						|
    useJUnitPlatform()
 | 
						|
    finalizedBy(tasks.jacocoTestReport)
 | 
						|
}
 | 
						|
 | 
						|
tasks.jacocoTestReport {
 | 
						|
    dependsOn(tasks.test)
 | 
						|
}
 | 
						|
 | 
						|
tasks.withType<AbstractArchiveTask>().configureEach {
 | 
						|
    isPreserveFileTimestamps = false
 | 
						|
    isReproducibleFileOrder = true
 | 
						|
}
 | 
						|
 | 
						|
publishing {
 | 
						|
    repositories {
 | 
						|
        maven("https://git.lamgc.me/api/packages/LamGC/maven") {
 | 
						|
            credentials {
 | 
						|
                username = project.properties["repo.credentials.self-git.username"].toString()
 | 
						|
                password = project.properties["repo.credentials.self-git.password"].toString()
 | 
						|
            }
 | 
						|
        }
 | 
						|
        val kukuRepoUrl = if (project.version.toString().endsWith("-SNAPSHOT", ignoreCase = true)) {
 | 
						|
            "https://nexus.kuku.me/repository/maven-snapshots/"
 | 
						|
        } else {
 | 
						|
            "https://nexus.kuku.me/repository/maven-releases/"
 | 
						|
        }
 | 
						|
        maven(kukuRepoUrl) {
 | 
						|
            credentials {
 | 
						|
                username = project.properties["repo.credentials.kuku-repo.username"].toString()
 | 
						|
                password = project.properties["repo.credentials.kuku-repo.password"].toString()
 | 
						|
            }
 | 
						|
        }
 | 
						|
    }
 | 
						|
 | 
						|
    publications {
 | 
						|
        create<MavenPublication>("maven") {
 | 
						|
            from(components["java"])
 | 
						|
 | 
						|
            pom {
 | 
						|
                name.set("ScalaBot-Extension-api")
 | 
						|
                description.set(
 | 
						|
                    "Dependencies for developing scalabot " +
 | 
						|
                            "(a robotic application based on the TelegramBots[Github@rubenlagus/TelegramBots] project)"
 | 
						|
                )
 | 
						|
                url.set("https://github.com/LamGC/ScalaBot")
 | 
						|
                licenses {
 | 
						|
                    license {
 | 
						|
                        name.set("The MIT License")
 | 
						|
                        url.set("https://www.opensource.org/licenses/mit-license.php")
 | 
						|
                    }
 | 
						|
                }
 | 
						|
                developers {
 | 
						|
                    developer {
 | 
						|
                        id.set("LamGC")
 | 
						|
                        name.set("LamGC")
 | 
						|
                        email.set("lam827@lamgc.net")
 | 
						|
                        url.set("https://github.com/LamGC")
 | 
						|
                    }
 | 
						|
                }
 | 
						|
                scm {
 | 
						|
                    connection.set("scm:git:https://github.com/LamGC/ScalaBot.git")
 | 
						|
                    developerConnection.set("scm:git:https://github.com/LamGC/ScalaBot.git")
 | 
						|
                    url.set("https://github.com/LamGC/ScalaBot")
 | 
						|
                }
 | 
						|
                issueManagement {
 | 
						|
                    url.set("https://github.com/LamGC/ScalaBot/issues")
 | 
						|
                    system.set("Github Issues")
 | 
						|
                }
 | 
						|
            }
 | 
						|
        }
 | 
						|
    }
 | 
						|
 | 
						|
}
 | 
						|
 | 
						|
signing {
 | 
						|
    useGpgCmd()
 | 
						|
    sign(publishing.publications["maven"])
 | 
						|
}
 |