Skip to content
This repository was archived by the owner on Jun 1, 2024. It is now read-only.

Commit c7f2cac

Browse files
Tiagopereshernandazevedozup
authored andcommitted
beagle orange. authors: @uziasferreirazup, @hernandazevedo Signed-off-by: Tiago Peres França <[email protected]>
Signed-off-by: Hernand Azevedo <[email protected]>
1 parent 1d22b8e commit c7f2cac

File tree

324 files changed

+4981
-9219
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

324 files changed

+4981
-9219
lines changed

.editorconfig

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

.gitignore

Lines changed: 2 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,8 @@ captures/
3030

3131
# Intellij
3232
*.iml
33-
.idea/workspace.xml
34-
.idea/tasks.xml
35-
.idea/gradle.xml
36-
.idea/dictionaries
37-
.idea/libraries
33+
.idea/*
34+
!.idea/copyright
3835

3936
# External native build folder generated in Android Studio 2.2 and later
4037
.externalNativeBuild
@@ -91,9 +88,6 @@ obj/
9188
*.iws
9289
/out/
9390

94-
# User-specific configurations
95-
.idea*
96-
9791
# OS-specific files
9892
.DS_Store
9993
.DS_Store?
@@ -125,56 +119,13 @@ hs_err_pid*
125119
# JIRA plugin
126120
atlassian-ide-plugin.xml
127121

128-
# Mongo Explorer plugin
129-
.idea/mongoSettings.xml
130-
131-
132-
# User-specific stuff:
133-
.idea/**/workspace.xml
134-
.idea/**/tasks.xml
135-
136-
# Sensitive or high-churn files:
137-
.idea/**/dataSources/
138-
.idea/**/dataSources.ids
139-
.idea/**/dataSources.xml
140-
.idea/**/dataSources.local.xml
141-
.idea/**/sqlDataSources.xml
142-
.idea/**/dynamic.xml
143-
.idea/**/uiDesigner.xml
144-
145-
# Gradle:
146-
.idea/**/gradle.xml
147-
.idea/**/libraries
148-
149122
# CMake
150123
cmake-build-debug/
151124

152-
# Mongo Explorer plugin:
153-
.idea/**/mongoSettings.xml
154-
155-
## File-based project format:
156-
157-
## Plugin-specific files:
158-
159-
# IntelliJ
160-
161-
# mpeltonen/sbt-idea plugin
162-
163-
# JIRA plugin
164-
165-
# Cursive Clojure plugin
166-
.idea/replstate.xml
167-
168125
# Ruby plugin and RubyMine
169126
/.rakeTasks
170127

171-
# Sonarlint plugin
172-
.idea/sonarlint
173-
174128
### Java ###
175-
# Compiled class file
176-
177-
# Log file
178129

179130
# BlueJ files
180131
*.ctxt

.idea/copyright/beagle.xml

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

.idea/copyright/profiles_settings.xml

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

.settings/org.eclipse.buildship.core.prefs

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

Gemfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
source 'https://rubygems.org'
22

33
gem 'fastlane'
4-
gem 'xcode-install'
54
gem 'danger'
65
gem 'danger-checkstyle_format'
7-
gem 'danger-android_lint'
86
gem 'danger-junit'
9-
gem 'danger-swiftlint'
10-
gem 'danger-flutter_lint'
117
gem 'cocoapods'
128

139
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')

annotation/.settings/org.eclipse.buildship.core.prefs

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

annotation/src/main/kotlin/br/com/zup/beagle/annotation/BeagleExpressionRoot.kt renamed to annotation/src/main/kotlin/br/com/zup/beagle/annotation/ContextObject.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
package br.com.zup.beagle.annotation
1818

1919
@Target(AnnotationTarget.CLASS)
20-
@Retention(AnnotationRetention.SOURCE)
21-
annotation class BeagleExpressionRoot
20+
@Retention(AnnotationRetention.RUNTIME)
21+
annotation class ContextObject

widgets-dsl/build.gradle renamed to annotation/src/main/kotlin/br/com/zup/beagle/annotation/GlobalContext.kt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17-
import br.com.zup.beagle.Dependencies
17+
package br.com.zup.beagle.annotation
1818

19-
dependencies {
20-
api project(Dependencies.Modules.widgets)
21-
}
22-
23-
apply from: rootProject.file('maven-publish.gradle')
19+
@Target(AnnotationTarget.CLASS)
20+
@Retention(AnnotationRetention.RUNTIME)
21+
annotation class GlobalContext

framework/src/main/kotlin/br/com/zup/beagle/cache/BeagleCacheProperties.kt renamed to annotation/src/main/kotlin/br/com/zup/beagle/annotation/ImplicitContext.kt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@
1414
* limitations under the License.
1515
*/
1616

17-
package br.com.zup.beagle.cache
17+
package br.com.zup.beagle.annotation
1818

19-
import java.time.Duration
19+
import kotlin.reflect.KClass
2020

21-
interface BeagleCacheProperties {
22-
val include : List<String>
23-
val exclude : List<String>
24-
val ttl: Map<String, Duration>
25-
}
21+
@Retention(AnnotationRetention.SOURCE)
22+
@Target(AnnotationTarget.FIELD)
23+
annotation class ImplicitContext(val name: String = "", val inputClass: KClass<*> = String::class)

0 commit comments

Comments
 (0)