Gradle Notes – 23 Sept – 2023

DevOps

YOUR COSMETIC CARE STARTS HERE

Find the Best Cosmetic Hospitals

Trusted • Curated • Easy

Looking for the right place for a cosmetic procedure? Explore top cosmetic hospitals in one place and choose with confidence.

“Small steps lead to big changes — today is a perfect day to begin.”

Explore Cosmetic Hospitals Compare hospitals, services & options quickly.

✓ Shortlist providers • ✓ Review options • ✓ Take the next step with confidence

What is Gradle?
-------------------
	Build Tools


Why Gradle?
-------------------------
Dev in Java + Goorvy
Open Source & Free

--------------------------
Less coding
Support - mul Lang
	Procedural - mvn 
	Declarative - ant - msbuild
--------------------------


How to install it?
----------------------
- JDK
- Gradle
		Download
		extract
		Set in path
-------------------------------------
================================================================================
Declarative

Code --> build.gradle
=============================================
	task1
		action(dolast)
			download
			extract
		action(dofirst)
			copy 

	task copyDocs(type: Copy) {
    		from 'src/main/doc'
    		into 'build/target/doc'
	}

	task2
		env
		cmd

	task3
		compile
	task4
		test
	task5
		package
=================================================================
Write a code
	Auto Build
		Activity Diagram
	
	git clone this repo
	Clean up [ Conditional]
	Create a dir	
	Copy a Source Code to builddir
	Compile
	test
	Package


		

task stopTomcat(type:Exec) {
  workingDir '../tomcat/bin'

  //on windows:
  commandLine 'cmd', '/c', 'deploy.p'


https://devopsschool.com/path/
<blockquote class="wp-embedded-content" data-secret="U8TgVr7CGW"><a href="https://www.devopsschool.com/blog/gradle-tasks-are-exaplained-in-10-mins/">Gradle Tasks are exaplained in 10 mins!</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; visibility: hidden;" title="“Gradle Tasks are exaplained in 10 mins!” — DevOpsSchool.com" src="https://www.devopsschool.com/blog/gradle-tasks-are-exaplained-in-10-mins/embed/#?secret=XPYNTUwrvl#?secret=U8TgVr7CGW" data-secret="U8TgVr7CGW" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
https://www.devopsschool.com/blog/?s=gradle
https://docs.gradle.org/current/dsl/org.gradle.api.tasks.Delete.html





  //on linux
  commandLine './stop.sh'

		

Code language: JavaScript (javascript)

https://www.devopsschool.com/blog/?s=gradle

https://docs.gradle.org/current/dsl/org.gradle.api.tasks.Delete.html

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x