OSDN Git Service

Merge remote-tracking branch 'origin/topic/miurahr/fix-dictzip-outputstream' into...
[dictzip-java/dictzip-java.git] / build.gradle
index 1f51206..25d8979 100644 (file)
@@ -24,7 +24,6 @@ subprojects {
     apply plugin: 'jacoco'
     apply plugin: 'java'
     apply plugin: 'checkstyle'
-    apply plugin: 'maven'
     apply plugin: 'maven-publish'
 
     [compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
@@ -41,11 +40,10 @@ subprojects {
     }
 
     dependencies {
-        testImplementation 'commons-io:commons-io:2.8.0'
-        testImplementation "org.junit.jupiter:junit-jupiter-api:5.8.1"
-        testImplementation "org.junit.jupiter:junit-jupiter:5.8.1"
+        implementation "org.jetbrains:annotations:23.0.0"
+        testImplementation 'commons-io:commons-io:2.11.0'
+        testImplementation "org.junit.jupiter:junit-jupiter:5.8.2"
     }
-
     test {
         useJUnitPlatform()
     }
@@ -71,37 +69,6 @@ subprojects {
 project(':dictzip-lib') {
     apply plugin: 'java-library'
     version = rootProject.version
-    install {
-        repositories.mavenInstaller {
-            pom.project {
-                name = 'dictzip'
-                packaging = 'jar'
-                description = projectDesc
-                url = projectUrl
-                version = project.version
-                licenses {
-                    license {
-                        name = licenseName
-                        url = licenseUrl
-                        distribution = 'repo'
-                    }
-                }
-                scm {
-                    url = githubUrl
-                    connection = "scm:git:${githubUrl}"
-                    developerConnection = "scm:git:${githubUrl}"
-                }
-                developers {
-                    developer {
-                        id = projectOwner
-                        name = developerName
-                        email = developerEmail
-                    }
-                }
-            }
-        }
-    }
-
     publishing {
         publications {
             mavenJava(MavenPublication) {
@@ -190,7 +157,6 @@ project(':dictzip-cli') {
 
     distributions {
         main {
-            baseName = 'dictzip'
             contents {
                 from('build/docs/dictzip.1') {
                     into 'docs/man/man1'