Gradle 引入本地定制 jar 包
第 1 步:创建文件夹,拷贝 jar 包
第 2 步:编写 build.gradle 核心配置文件片段
第 3 步:刷新构建
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
compile fileTree(dir:'libs',include:['*.jar'])
dependencies {
runtime files('libs/mnist-tools.jar', 'libs/gson-2.2.4.jar')
runtime fileTree(dir: 'libs', include: ['*.jar'])
}