mirror of
https://gitee.com/willfree/minbrowser.git
synced 2026-06-03 08:16:50 +08:00
38 lines
728 B
Groovy
38 lines
728 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
group 'PKUSZ'
|
|
version '0.1'
|
|
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
//指定编译编码
|
|
tasks.withType(JavaCompile){
|
|
options.encoding="UTF-8"
|
|
}
|
|
|
|
repositories {
|
|
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
|
|
// mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
|
compile fileTree(dir: 'lib',includes: ['*jar'])
|
|
compile 'com.blankj:utilcode:1.10.0'
|
|
}
|
|
|
|
jar{
|
|
manifestContentCharset 'utf-8'
|
|
metadataCharset 'utf-8'
|
|
manifest{
|
|
attributes "Main-Class": "cn.minbrowser.Main"
|
|
}
|
|
from{
|
|
configurations.compile.collect{it.isDirectory()?it:zipTree(it)}
|
|
}
|
|
}
|