Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Tor Android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leap
Android Libs
Tor Android
Commits
df5d1ad5
Commit
df5d1ad5
authored
Aug 8, 2022
by
cyberta
Browse files
Options
Downloads
Plain Diff
Merge branch 'update_dependencies' into 'main'
Update dependencies See merge request
!4
parents
9ff61322
b7bf4551
Branches
main
Branches containing commit
No related tags found
1 merge request
!4
Update dependencies
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tor-android-binary/build.gradle
+14
-17
14 additions, 17 deletions
tor-android-binary/build.gradle
with
14 additions
and
17 deletions
tor-android-binary/build.gradle
+
14
−
17
View file @
df5d1ad5
...
@@ -11,12 +11,12 @@ def getVersionName = { ->
...
@@ -11,12 +11,12 @@ def getVersionName = { ->
}
}
android
{
android
{
compileSdkVersion
3
0
compileSdkVersion
3
1
buildToolsVersion
'30.0
.3
'
buildToolsVersion
'3
1.
0.0'
defaultConfig
{
defaultConfig
{
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
3
0
targetSdkVersion
3
1
versionCode
41500
versionCode
41500
versionName
getVersionName
()
versionName
getVersionName
()
...
@@ -83,10 +83,19 @@ task sourcesJar(type: Jar) {
...
@@ -83,10 +83,19 @@ task sourcesJar(type: Jar) {
baseName
=
'tor-android-'
+
getVersionName
()
baseName
=
'tor-android-'
+
getVersionName
()
}
}
configurations
{
libconfiguration
// declare a configuration that is going to resolve the compile classpath of the application
compileClasspath
.
extendsFrom
(
libconfiguration
)
// declare a configuration that is going to resolve the runtime classpath of the application
runtimeClasspath
.
extendsFrom
(
libconfiguration
)
}
task
javadoc
(
type:
Javadoc
)
{
task
javadoc
(
type:
Javadoc
)
{
source
=
android
.
sourceSets
.
main
.
java
.
srcDirs
source
=
android
.
sourceSets
.
main
.
java
.
srcDirs
classpath
+=
project
.
files
(
android
.
getBootClasspath
().
join
(
File
.
pathSeparator
))
classpath
+=
project
.
files
(
android
.
getBootClasspath
().
join
(
File
.
pathSeparator
))
classpath
+=
configurations
.
compile
classpath
+=
configurations
.
libconfiguration
options
.
noTimestamp
=
true
options
.
noTimestamp
=
true
options
.
addStringOption
(
'charset'
,
'UTF-8'
)
// to match Maven's case
options
.
addStringOption
(
'charset'
,
'UTF-8'
)
// to match Maven's case
android
.
libraryVariants
.
all
{
variant
->
android
.
libraryVariants
.
all
{
variant
->
...
@@ -105,17 +114,5 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
...
@@ -105,17 +114,5 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
}
}
apply
plugin:
'maven'
apply
plugin:
'maven-publish'
uploadArchives
{
repositories
.
mavenDeployer
{
def
deployPath
=
file
(
getProperty
(
'aar.deployPath'
))
repository
(
url:
"file://${deployPath.absolutePath}"
)
pom
.
project
{
groupId
'info.guardianproject'
artifactId
'tor-android'
version
getVersionName
()
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment