Last active
April 22, 2019 09:34
-
-
Save mike-neck/2a45f03642b82f5eccae489a8fcbc79a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
parent/ | |
├── sub | |
│ └── build.gradle | |
└── build.gradle | |
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'java-library' | |
} | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
api 'com.google.guava:guava:27.1-jre' // このプロジェクトに依存するプロジェクトの コンパイル + runtime に影響 | |
implementation 'org.apache.commons:commons-math3:3.6.1' // このプロジェクトに依存するプロジェクトの runtime に影響 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'java-library' | |
} | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
implementation rootProject | |
implementation 'org.slf4j:slf4j-api:1.7.26' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
依存性
parent プロジェクト
sub プロジェクト