Skip to content

Commit

Permalink
use java-library
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Apr 28, 2021
1 parent a392853 commit d7b9502
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 21 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
// for subproject configurations
java
`java-library`
`maven-publish`
signing
jacoco
Expand All @@ -10,7 +10,7 @@ group = "com.anatawa12.asar4j"
version = "1.0-SNAPSHOT"

subprojects {
apply(plugin = "java")
apply(plugin = "java-library")
apply(plugin = "maven-publish")
apply(plugin = "signing")
apply(plugin = "jacoco")
Expand Down
3 changes: 0 additions & 3 deletions common/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
plugins {
java
}
6 changes: 1 addition & 5 deletions file/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
plugins {
java
}

dependencies {
implementation(project(":common"))
api(project(":common"))
}
8 changes: 2 additions & 6 deletions url/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
plugins {
java
}

dependencies {
implementation(project(":common"))
implementation(project(":file"))
api(project(":common"))
api(project(":file"))
}

val createAsarZip by tasks.creating(Zip::class) {
Expand Down
6 changes: 1 addition & 5 deletions writer/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
plugins {
java
}

dependencies {
implementation(project(":common"))
api(project(":common"))
testImplementation(project(":file"))
}

0 comments on commit d7b9502

Please sign in to comment.