Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
briar
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
677
Issues
677
List
Boards
Labels
Service Desk
Milestones
Merge Requests
10
Merge Requests
10
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
briar
briar
Commits
db11dad6
Commit
db11dad6
authored
Oct 30, 2018
by
akwizgran
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'clean-tor-binaries' into 'master'
Delete Tor binaries when cleaning See merge request
!969
parents
69e73662
d29812a4
Pipeline
#2643
passed with stage
in 10 minutes and 54 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
8 deletions
+42
-8
bramble-android/build.gradle
bramble-android/build.gradle
+21
-4
bramble-java/build.gradle
bramble-java/build.gradle
+21
-4
No files found.
bramble-android/build.gradle
View file @
db11dad6
...
...
@@ -44,9 +44,26 @@ dependencies {
testImplementation
"org.hamcrest:hamcrest-core:1.3"
}
project
.
afterEvaluate
{
def
torBinariesDir
=
'src/main/res/raw'
task
unpackTorBinaries
{
outputs
.
dir
torBinariesDir
doLast
{
copy
{
from
configurations
.
tor
.
collect
{
zipTree
(
it
)
}
into
'src/main/res/raw'
into
torBinariesDir
}
}
}
tasks
.
withType
(
JavaCompile
)
{
dependsOn
unpackTorBinaries
}
task
cleanTorBinaries
{
doLast
{
delete
fileTree
(
torBinariesDir
)
{
include
'*.zip'
}
}
}
clean
.
dependsOn
cleanTorBinaries
bramble-java/build.gradle
View file @
db11dad6
...
...
@@ -33,13 +33,30 @@ dependencies {
testApt
'com.google.dagger:dagger-compiler:2.0.2'
}
project
.
afterEvaluate
{
def
torBinariesDir
=
'src/main/resources'
task
unpackTorBinaries
{
outputs
.
dir
torBinariesDir
doLast
{
copy
{
from
configurations
.
tor
.
collect
{
zipTree
(
it
)
}
into
'src/main/resources'
into
torBinariesDir
}
}
}
tasks
.
withType
(
JavaCompile
)
{
dependsOn
unpackTorBinaries
}
task
cleanTorBinaries
{
doLast
{
delete
fileTree
(
torBinariesDir
)
{
include
'*.zip'
}
}
}
clean
.
dependsOn
cleanTorBinaries
tasks
.
withType
(
Test
)
{
systemProperty
'java.library.path'
,
'libs'
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment