Files
i2p.i2p-bote.android/botejars/build.gradle
str4d e461e5e3c4 Use the I2P Android client library
The build script looks for the client library in Maven Central. It is possible              
to use a local .aar by placing it in a folder "aars" in the base folder, and
uncommenting the flatDir{} section in the base build.gradle.
2014-07-16 01:45:14 +00:00

26 lines
774 B
Groovy

apply plugin: 'java'
task buildJars(type: Exec) {
outputs.dir('libs')
commandLine 'ant', 'preparebotelibs'
}
// TODO an empty botejars.jar is added to the classpath
artifacts {
'default' file: file('libs/router.jar'), builtBy: buildJars
'default' file: file('libs/bcprov-ecc-jdk16-146.jar'), builtBy: buildJars
'default' file: file('libs/flexi-gmss-1.7p1.jar'), builtBy: buildJars
'default' file: file('libs/lzma-9.20.jar'), builtBy: buildJars
'default' file: file('libs/ntruenc-1.2.jar'), builtBy: buildJars
'default' file: file('libs/scrypt-1.4.0.jar'), builtBy: buildJars
'default' file: file('libs/i2pbote.jar'), builtBy: buildJars
}
clean.dependsOn cleanBuildJars
clean << {
exec {
commandLine 'ant', 'clean'
}
}