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
AndroidUtils
NavigationDrawerActivity
Commits
90e6921d
Commit
90e6921d
authored
Jun 02, 2021
by
Daniel Wolf
Browse files
Merge branch 'master' of
https://git.frostnerd.com/AndroidUtils/baselibrarykt
parents
bfbed088
a4820423
Changes
9
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
90e6921d
...
...
@@ -151,3 +151,7 @@ libs/
.idea/**/dbnavigator.xml
.idea/**/markdown-navigator-enh.xml
.idea/**/markdown-navigator.xml
.idea/jarRepositories.xml
.idea/runConfigurations.xml
.idea/misc.xml
.idea/.name
\ No newline at end of file
.idea/codeStyles/Project.xml
View file @
90e6921d
...
...
@@ -24,30 +24,24 @@
<option
name=
"ITERATION_ELEMENTS_WRAPPING"
value=
"chop_down_if_not_single"
/>
</formatting-settings>
</DBN-SQL>
<DBN-PSQL>
<case-options
enabled=
"true"
>
<option
name=
"KEYWORD_CASE"
value=
"lower"
/>
<option
name=
"FUNCTION_CASE"
value=
"lower"
/>
<option
name=
"PARAMETER_CASE"
value=
"lower"
/>
<option
name=
"DATATYPE_CASE"
value=
"lower"
/>
<option
name=
"OBJECT_CASE"
value=
"preserve"
/>
</case-options>
<formatting-settings
enabled=
"false"
/>
</DBN-PSQL>
<DBN-SQL>
<case-options
enabled=
"true"
>
<option
name=
"KEYWORD_CASE"
value=
"lower"
/>
<option
name=
"FUNCTION_CASE"
value=
"lower"
/>
<option
name=
"PARAMETER_CASE"
value=
"lower"
/>
<option
name=
"DATATYPE_CASE"
value=
"lower"
/>
<option
name=
"OBJECT_CASE"
value=
"preserve"
/>
</case-options>
<formatting-settings
enabled=
"false"
>
<option
name=
"STATEMENT_SPACING"
value=
"one_line"
/>
<option
name=
"CLAUSE_CHOP_DOWN"
value=
"chop_down_if_statement_long"
/>
<option
name=
"ITERATION_ELEMENTS_WRAPPING"
value=
"chop_down_if_not_single"
/>
</formatting-settings>
</DBN-SQL>
<JetCodeStyleSettings>
<option
name=
"PACKAGES_TO_USE_STAR_IMPORTS"
>
<value>
<package
name=
"java.util"
alias=
"false"
withSubpackages=
"false"
/>
<package
name=
"kotlinx.android.synthetic"
alias=
"false"
withSubpackages=
"true"
/>
<package
name=
"io.ktor"
alias=
"false"
withSubpackages=
"true"
/>
</value>
</option>
<option
name=
"PACKAGES_IMPORT_LAYOUT"
>
<value>
<package
name=
""
alias=
"false"
withSubpackages=
"true"
/>
<package
name=
"java"
alias=
"false"
withSubpackages=
"true"
/>
<package
name=
"javax"
alias=
"false"
withSubpackages=
"true"
/>
<package
name=
"kotlin"
alias=
"false"
withSubpackages=
"true"
/>
<package
name=
""
alias=
"true"
withSubpackages=
"true"
/>
</value>
</option>
</JetCodeStyleSettings>
<codeStyleSettings
language=
"XML"
>
<arrangement>
<rules>
...
...
.idea/compiler.xml
0 → 100644
View file @
90e6921d
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"CompilerConfiguration"
>
<bytecodeTargetLevel
target=
"11"
/>
</component>
</project>
\ No newline at end of file
.idea/misc.xml
deleted
100644 → 0
View file @
bfbed088
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"NullableNotNullManager"
>
<option
name=
"myDefaultNullable"
value=
"android.support.annotation.Nullable"
/>
<option
name=
"myDefaultNotNull"
value=
"android.support.annotation.NonNull"
/>
<option
name=
"myNullables"
>
<value>
<list
size=
"12"
>
<item
index=
"0"
class=
"java.lang.String"
itemvalue=
"org.jetbrains.annotations.Nullable"
/>
<item
index=
"1"
class=
"java.lang.String"
itemvalue=
"javax.annotation.Nullable"
/>
<item
index=
"2"
class=
"java.lang.String"
itemvalue=
"javax.annotation.CheckForNull"
/>
<item
index=
"3"
class=
"java.lang.String"
itemvalue=
"edu.umd.cs.findbugs.annotations.Nullable"
/>
<item
index=
"4"
class=
"java.lang.String"
itemvalue=
"android.support.annotation.Nullable"
/>
<item
index=
"5"
class=
"java.lang.String"
itemvalue=
"androidx.annotation.Nullable"
/>
<item
index=
"6"
class=
"java.lang.String"
itemvalue=
"androidx.annotation.RecentlyNullable"
/>
<item
index=
"7"
class=
"java.lang.String"
itemvalue=
"org.checkerframework.checker.nullness.qual.Nullable"
/>
<item
index=
"8"
class=
"java.lang.String"
itemvalue=
"org.checkerframework.checker.nullness.compatqual.NullableDecl"
/>
<item
index=
"9"
class=
"java.lang.String"
itemvalue=
"org.checkerframework.checker.nullness.compatqual.NullableType"
/>
<item
index=
"10"
class=
"java.lang.String"
itemvalue=
"android.annotation.Nullable"
/>
<item
index=
"11"
class=
"java.lang.String"
itemvalue=
"com.android.annotations.Nullable"
/>
</list>
</value>
</option>
<option
name=
"myNotNulls"
>
<value>
<list
size=
"11"
>
<item
index=
"0"
class=
"java.lang.String"
itemvalue=
"org.jetbrains.annotations.NotNull"
/>
<item
index=
"1"
class=
"java.lang.String"
itemvalue=
"javax.annotation.Nonnull"
/>
<item
index=
"2"
class=
"java.lang.String"
itemvalue=
"edu.umd.cs.findbugs.annotations.NonNull"
/>
<item
index=
"3"
class=
"java.lang.String"
itemvalue=
"android.support.annotation.NonNull"
/>
<item
index=
"4"
class=
"java.lang.String"
itemvalue=
"androidx.annotation.NonNull"
/>
<item
index=
"5"
class=
"java.lang.String"
itemvalue=
"androidx.annotation.RecentlyNonNull"
/>
<item
index=
"6"
class=
"java.lang.String"
itemvalue=
"org.checkerframework.checker.nullness.qual.NonNull"
/>
<item
index=
"7"
class=
"java.lang.String"
itemvalue=
"org.checkerframework.checker.nullness.compatqual.NonNullDecl"
/>
<item
index=
"8"
class=
"java.lang.String"
itemvalue=
"org.checkerframework.checker.nullness.compatqual.NonNullType"
/>
<item
index=
"9"
class=
"java.lang.String"
itemvalue=
"android.annotation.NonNull"
/>
<item
index=
"10"
class=
"java.lang.String"
itemvalue=
"com.android.annotations.NonNull"
/>
</list>
</value>
</option>
</component>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_7"
project-jdk-name=
"JDK"
project-jdk-type=
"JavaSDK"
>
<output
url=
"file://$PROJECT_DIR$/build/classes"
/>
</component>
<component
name=
"ProjectType"
>
<option
name=
"id"
value=
"Android"
/>
</component>
</project>
\ No newline at end of file
.idea/runConfigurations.xml
deleted
100644 → 0
View file @
bfbed088
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"RunConfigurationProducerService"
>
<option
name=
"ignoredProducers"
>
<set>
<option
value=
"org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer"
/>
<option
value=
"org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer"
/>
<option
value=
"org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer"
/>
</set>
</option>
</component>
</project>
\ No newline at end of file
build.gradle
View file @
90e6921d
...
...
@@ -27,10 +27,10 @@ buildscript {
ext
.
ANDROID_COMPILE_SDK
=
(
System
.
getenv
(
"ANDROID_COMPILE_SDK"
)
==
null
?
30
:
System
.
getenv
(
"ANDROID_COMPILE_SDK"
)).
toInteger
()
ext
.
ANDROID_TARGET_SDK
=
(
System
.
getenv
(
"ANDROID_TARGET_SDK"
)
==
null
?
ANDROID_COMPILE_SDK
:
System
.
getenv
(
"ANDROID_TARGET_SDK"
)).
toInteger
()
ext
.
ANDROID_MIN_SDK
=
(
System
.
getenv
(
"ANDROID_MIN_SDK"
)
==
null
?
21
:
System
.
getenv
(
"ANDROID_COMPILE_SDK"
)).
toInteger
()
ext
.
KOTLIN_VERSION
=
System
.
getenv
(
"KOTLIN_VERSION"
)
==
null
?
"1.
4.21
"
:
System
.
getenv
(
"KOTLIN_VERSION"
)
ext
.
ANDROID_GRADLE_PLUGIN_VERSION
=
System
.
getenv
(
"ANDROID_GRADLE_PLUGIN_VERSION"
)
==
null
?
"4.
1
.1"
:
System
.
getenv
(
"ANDROID_GRADLE_PLUGIN_VERSION"
)
ext
.
APPCOMPAT_VERSION
=
"1.
2
.0"
ext
.
COROUTINE_VERSION
=
"1.
4.2
"
ext
.
KOTLIN_VERSION
=
System
.
getenv
(
"KOTLIN_VERSION"
)
==
null
?
"1.
5.10
"
:
System
.
getenv
(
"KOTLIN_VERSION"
)
ext
.
ANDROID_GRADLE_PLUGIN_VERSION
=
System
.
getenv
(
"ANDROID_GRADLE_PLUGIN_VERSION"
)
==
null
?
"4.
2
.1"
:
System
.
getenv
(
"ANDROID_GRADLE_PLUGIN_VERSION"
)
ext
.
APPCOMPAT_VERSION
=
"1.
3
.0
-rc01
"
ext
.
COROUTINE_VERSION
=
"1.
5.0
"
ext
.
RECYCLERVIEW_VERSION
=
"1.1.0"
ext
.
ROBOELECTRIC_VERSION
=
"4.3"
...
...
@@ -41,12 +41,11 @@ buildscript {
repositories
{
google
()
jcenter
()
mavenCentral
()
}
dependencies
{
classpath
"com.android.tools.build:gradle:$ANDROID_GRADLE_PLUGIN_VERSION"
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
classpath
"org.jfrog.buildinfo:build-info-extractor-gradle:4.15.1"
classpath
"org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.18"
}
}
...
...
@@ -55,7 +54,7 @@ allprojects {
apply
plugin:
'maven-publish'
repositories
{
google
()
jcenter
()
mavenCentral
()
maven
{
url
'https://nexus.frostnerd.com/repository/libs-release/'
credentials
{
...
...
gradle/wrapper/gradle-wrapper.properties
View file @
90e6921d
...
...
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
zipStorePath
=
wrapper/dists
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-6.
6
-all.zip
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-6.
9
-all.zip
library/build.gradle
View file @
90e6921d
...
...
@@ -3,9 +3,10 @@ apply plugin: 'kotlin-android'
apply
plugin:
'kotlin-android-extensions'
apply
plugin:
'org.jetbrains.dokka-android'
group
=
'com.frostnerd.utilskt'
ext
{
libraryGroupId
=
'com.frostnerd.utilskt'
libraryArtifactId
=
'navigationdraweractivity'
libraryGroupId
=
group
libraryArtifactId
=
rootProject
.
name
libraryVersion
=
'1.4.2'
}
...
...
settings.gradle
View file @
90e6921d
buildscript
{
repositories
{
jcenter
()
}
dependencies
{
classpath
'com.alexvasilkov:gradle-git-dependencies:2.0.1'
}
}
apply
plugin:
'com.alexvasilkov.git-dependencies'
include
':library'
,
':navigationdrawertest'
rootProject
.
name
=
"navigationdraweractivity"
\ No newline at end of file
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