Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
PublicAndroidApps
Nebulo
Commits
d258f13b
Commit
d258f13b
authored
Apr 22, 2020
by
Daniel Wolf
Browse files
Merge branch 'master' of
https://git.frostnerd.com/PublicAndroidApps/smokescreen
into translations
parents
2a953a2d
5a5f5da1
Pipeline
#6919
passed with stage
in 5 minutes and 17 seconds
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
app/build.gradle
View file @
d258f13b
...
...
@@ -115,16 +115,16 @@ dependencies {
implementation
'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.5'
implementation
'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.5'
implementation
'com.frostnerd.utilskt:preferences:1.5.1
9
'
// https://git.frostnerd.com/AndroidUtils/preferenceskt
implementation
'com.frostnerd.utilskt:navigationdraweractivity:1.3.3
1
'
// https://git.frostnerd.com/AndroidUtils/navigationdraweractivity
implementation
'com.frostnerd.utilskt:encrypteddnstunnelproxy:1.5.1
87
'
// https://git.frostnerd.com/AndroidUtils/encrypteddnstunnelproxy
implementation
'com.frostnerd.utilskt:general:1.0.2
1
'
// https://git.frostnerd.com/AndroidUtils/generalkt
implementation
'com.frostnerd.utilskt:adapters:1.1.
8
'
// https://git.frostnerd.com/AndroidUtils/Adapters
implementation
'com.frostnerd.utilskt:preferences:1.5.
2
1'
// https://git.frostnerd.com/AndroidUtils/preferenceskt
implementation
'com.frostnerd.utilskt:navigationdraweractivity:1.3.3
5
'
// https://git.frostnerd.com/AndroidUtils/navigationdraweractivity
implementation
'com.frostnerd.utilskt:encrypteddnstunnelproxy:1.5.1
90
'
// https://git.frostnerd.com/AndroidUtils/encrypteddnstunnelproxy
implementation
'com.frostnerd.utilskt:general:1.0.2
2
'
// https://git.frostnerd.com/AndroidUtils/generalkt
implementation
'com.frostnerd.utilskt:adapters:1.1.
13
'
// https://git.frostnerd.com/AndroidUtils/Adapters
implementation
'androidx.work:work-runtime:2.3.4'
implementation
'androidx.appcompat:appcompat:1.1.0'
implementation
"androidx.preference:preference:1.1.
0
"
implementation
"com.google.android.material:material:1.2.0-alpha0
5
"
implementation
"androidx.preference:preference:1.1.
1
"
implementation
"com.google.android.material:material:1.2.0-alpha0
6
"
implementation
'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0-alpha01'
implementation
"androidx.room:room-runtime:$room_version"
...
...
build.gradle
View file @
d258f13b
...
...
@@ -8,36 +8,56 @@ static def getSystemVariableOrDefault(String variable, String defaultValue) {
return
value
}
def
getArtifactoryUser
()
{
ext
.
public_artifactory_user
=
"publicaccess"
def
getArtifactoryUser
(
Boolean
useDefault
=
true
){
def
user
=
System
.
getenv
(
"ARTIFACTORY_USER"
)
if
(
user
==
null
)
{
user
=
artifactory_username
if
(
user
==
null
&&
useDefault
){
println
"Using public artifactory user"
user
=
public_artifactory_user
}
if
(
user
==
null
)
{
throw
new
Exception
(
"Artifactory user not set!"
)
}
return
user
}
def
getArtifactoryPassword
()
{
ext
.
public_artifactory_password
=
"AKCp5ekwNjBNhRDnT7YK3BRHxdep6v1FyUSptgrAMhQBfq2eDTauVemGLmgyKucJYeEPsNJGP"
def
getArtifactoryPassword
(
Boolean
useDefault
=
true
){
def
pw
=
System
.
getenv
(
"ARTIFACTORY_PASSWORD"
)
if
(
pw
==
null
)
{
pw
=
artifactory_password
if
(
pw
==
null
&&
useDefault
){
println
"Using public artifactory Password"
pw
=
public_artifactory_password
}
if
(
pw
==
null
)
{
throw
new
Exception
(
"Artifactory password not set!"
)
return
pw
}
ext
.
public_nexus_user
=
"publicaccess"
def
getNexusUser
(){
def
user
=
System
.
getenv
(
"NEXUS_USER"
)
if
(
user
==
null
){
println
"Using public Nexus user"
user
=
public_nexus_user
}
else
{
println
"Nexus user: $user"
}
return
user
}
ext
.
public_nexus_token
=
"HWGxGVPtvV4p3ZS9RSXf"
def
getNexusPassword
(){
def
pw
=
System
.
getenv
(
"NEXUS_PASSWORD"
)
if
(
pw
==
null
){
println
"Using public Nexus password"
pw
=
public_nexus_token
}
return
pw
}
ext
.
artifactory_username
=
getArtifactoryUser
()
ext
.
artifactory_password
=
getArtifactoryPassword
()
ext
.
nexus_user
=
getNexusUser
()
ext
.
nexus_password
=
getNexusPassword
()
buildscript
{
ext
.
kotlin_version
=
'1.3.7
1
'
ext
.
kotlin_version
=
'1.3.7
2
'
repositories
{
google
()
jcenter
()
...
...
@@ -46,7 +66,7 @@ buildscript {
}
}
dependencies
{
classpath
'com.android.tools.build:gradle:3.6.
2
'
classpath
'com.android.tools.build:gradle:3.6.
3
'
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
...
...
@@ -72,6 +92,13 @@ allprojects {
password
=
"$artifactory_password"
}
}
maven
{
url
'https://nexus.frostnerd.com/repository/libs-release/'
credentials
{
username
=
"$nexus_user"
password
=
"$nexus_password"
}
}
maven
{
url
"https://oss.sonatype.org/content/repositories/snapshots"
}
maven
{
url
'https://jitpack.io'
}
}
...
...
Write
Preview
Supports
Markdown
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