Skip to content

Commit f7ec5fb

Browse files
First Commit
1 parent fb95594 commit f7ec5fb

File tree

39 files changed

+870
-3
lines changed

39 files changed

+870
-3
lines changed

.gitignore

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ out/
2020
# Gradle files
2121
.gradle/
2222
build/
23+
/build
2324

2425
# Local configuration file (sdk path, etc)
2526
local.properties
27+
/local.properties
2628

2729
# Proguard folder generated by Eclipse
2830
proguard/
@@ -35,6 +37,7 @@ proguard/
3537

3638
# Android Studio captures folder
3739
captures/
40+
/captures
3841

3942
# IntelliJ
4043
*.iml
@@ -44,9 +47,17 @@ captures/
4447
.idea/assetWizardSettings.xml
4548
.idea/dictionaries
4649
.idea/libraries
50+
/.idea/workspace.xml
51+
/.idea/tasks.xml
52+
/.idea/gradle.xml
53+
/.idea/assetWizardSettings.xml
54+
/.idea/dictionaries
55+
/.idea/libraries
4756
# Android Studio 3 in .gitignore file.
4857
.idea/caches
4958
.idea/modules.xml
59+
/.idea/caches
60+
/.idea/modules.xml
5061
# Comment next line if keeping position of elements in Navigation Editor is relevant for you
5162
.idea/navEditor.xml
5263

@@ -82,4 +93,6 @@ lint/intermediates/
8293
lint/generated/
8394
lint/outputs/
8495
lint/tmp/
85-
# lint/reports/
96+
97+
# Mac OS
98+
.DS_Store

.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/Project.xml

Lines changed: 116 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jarRepositories.xml

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations.xml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
apply plugin: 'com.android.application'
2+
apply plugin: 'kotlin-android'
3+
apply plugin: 'kotlin-android-extensions'
4+
5+
android {
6+
compileSdkVersion 30
7+
buildToolsVersion "30.0.1"
8+
9+
defaultConfig {
10+
applicationId "io.github.viniciusalvesmello.androidcustomviewcomponents"
11+
minSdkVersion 21
12+
targetSdkVersion 30
13+
versionCode 1
14+
versionName "1.0"
15+
16+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
17+
}
18+
19+
buildTypes {
20+
release {
21+
minifyEnabled false
22+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
23+
}
24+
}
25+
}
26+
27+
dependencies {
28+
implementation fileTree(dir: "libs", include: ["*.jar"])
29+
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
30+
implementation 'androidx.core:core-ktx:1.3.1'
31+
implementation 'androidx.appcompat:appcompat:1.2.0'
32+
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
33+
testImplementation 'junit:junit:4.13'
34+
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
35+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
36+
37+
}

app/proguard-rules.pro

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile

0 commit comments

Comments
 (0)