Discover and read the best of Twitter Threads about #Gradle

Most recents (7)

Are you tired of being stuck in the same old IT routine? Do you crave the excitement of constantly learning and adapting to new technologies? Are you ready to become a #DevOps superhero, saving the day with your coding skills and infrastructure expertise?

🧡 What is #DevOps Dev?
🌻A #DevOps developer's job is to bridge the gap between development and operations teams. They work to automate and streamline the software delivery process, ensuring that applications are deployed quickly, reliably, and securely.
🌻 So, what is #DevOps?

It is a set of practices that combines software development (Dev) and IT operations (Ops). It aims to shorten the systems development life cycle while delivering features, fixes, and updates frequently in close alignment with business objectives.
Read 12 tweets
New to Android development? Gradle is your best friend.

πŸš€ Here Tips & Tricks for you (a thread 🧡):
1/ Gradle is a GENERAL build system Android Studio uses to compile, test, and package apps. As an Android developer, it's important to understand Gradle well to create efficient and effective builds.
2/ In short, the purpose of Gradle in the Android world is to simplify and streamline the build process and the creation of an Android app by organizing the compilation, testing, and packaging of the code into a final, executable app.
Read 11 tweets
This is a great question to refresh and revise what I have learned over the years from my ex-colleagues especially @inyaki_mwc & @jperezalv
I'll try to summarize what usual suspects I can recall in the 🧡
Usually, the answer lies in your build scans which is an amazing feature of the #Gradle build tool.
A Gradle build scan tells you how much time was spent in each of the three phases of the build lifecycle namely:

πŸ‘‰ Initialization
πŸ‘‰ Configuration
πŸ‘‰ Execution Image
Before going further let's refresh a few points
πŸ‘‰ Gradle supports single and multi-project builds.
πŸ‘‰ In Gradle tasks are the building block of your build process
πŸ‘‰ Tasks can depend on each other
πŸ‘‰ Gradle guarantees that tasks are executed in the order of their dependencies
Read 15 tweets
The JVM does not load all classes in the classpath.
It only loads the ones it needs. What triggers the JVM to load a particular #Java class?

Then answer might surprise you.
Consider the code below. What does it print?

Let's show the output and explain why. 🧡
Answer:
Class A, C and D are loaded.
Class B, E and F aren't.

Class F is never used, so it obviously isn't loaded.

Notice that MyBean contains fields of type B (static) and type E (non-static), but the B and E classes aren't loaded, because no instances are created.
A Java class is loaded in OpenJDK just in time: when an instance is created (with "new" or reflection) or a static member (field or method) is accessed.

If a class can't be loaded (for example if the compilation and runtime classpaths differ), a NoClassDefFoundError is thrown.
Read 4 tweets
Given recent events #log4j #log4jshell, here are some thoughts about dealing with dependencies and their versions in the Java-ecosystem when using #gradle. Some thoughts/explanations and an idea I had when thinking about the current state of things.
Dependency management is hell. Always. If you rely on external open-source components, which again rely on other open-source components, you are already in trouble. Luckily, that's what everyone is doing. So we are all in trouble together.
Of course it is great to reuse. But using code you have not written yourself, and you don't fully understand yourself, requires a lot of trust. As we have just seen, this can lead to incidents where you need to be ready to respond quickly.
Read 32 tweets
@georgberky 14/ New trends in Databases

not necessarily for #groovylang, but something everyone needs to know like #jooq #hibernate #postgres #neo4j #tinkerpop #cassandra #redis #mongodb
15/ #groovypuzzlers or a similar interactive session to get people talking about #groovylang
16/ Dynamic vs static programming in #groovylang

- performance differences
- tooling improvements
- etc
Read 15 tweets
There are just over two weeks left to submit a talk for #GR8Conf EU 2019 at cfp.gr8conf.org

If you need ideas, here's a thread.

#groovylang #grailsfw #gradle #spockfw #gebish #griffon #springboot #micronautfw #ratpackweb #sdkman #android #devops #ci #cd #cfp #jenkins
Feel free to like/❀ a topic you’d attend and @ people you think should submit a talk on this topic. I have A LOT of ideas so I’ll spread this out over a few days maybe a week depending on how this goes.
1/ an intro to @spockframework

including:
- using #spockfw in a polyglot organization including any tips/tricks for integrating with other languages like #Java and #Kotlin
- the top things you wish you knew when you started using spock
- good testing practices in general
Read 15 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!