0
それらを入れて、私はパスpaths.list
ファイルから読む文字列とbuild.gradleファイルに配列に
current/path/to/hai
current/path/to/hai2
path/to/hai3
path/to/hai4
のリストを含むファイルを持っている私は、このファイルを読み込み、srcDirs
リスト
sourceSets {
main {
java {
srcDir = ['current/path/to/hai','current/path/to/hai2','path/to/hai3','path/to/hai4']
}
}
}
私は彼らがに反映されますように、リストからこれらのパスを読み込むための
どのようにリストに追加するには、いくつかのパスを持っていますlist。