Skip to content

A simple social media platform consisting of a backend API and , and The platform should support creating, reading, updating, and deleting operations for user profiles ,posts,chats ,comments and many more

Notifications You must be signed in to change notification settings

arshiya786-af/AdobeSocial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

AdobeSocial

README Plugin for Gradle Java CI with Gradle Codecov GitHub Gradle Plugin Portal

Summary Generates the README.md using a Thymeleaf template.

Usage Configure the plugin in your build.gradle file.

plugins { id 'com.github.simkuenzi.readme' version '0.1' }

readme { overwrite = true // Overwrite existing README.md } You need a gradle.properties file in your project root directory.

version = 1.1-SNAPSHOT releaseInfo = many new features The template for your README.md goes to src/readme/README.md. The template uses the syntax of Thymeleaf's textual templates.

My Project

This version is [(${version})] and contains [(${releaseInfo})] Warning: With this configuration, the README.md file in your project will be overwritten. Don't proceed if you have uncommitted changes in your README.md.

Start the readme task to produce the README.md.

$ ./gradlew readme

BUILD SUCCESSFUL in 4s Update README.md on release The most common use case for the README Plugin is updating the version number on a new release. The snippet below shows, how to use the README Plugin together with the Gradle Release Plugin.

plugins { id 'net.researchgate.release' version '2.8.1' id 'com.github.simkuenzi.readme' version '0.1' }

release { buildTasks = ['readme'] }

readme { overwrite = true } Your README.md will be updated on release and the Gradle Release Plugin will commit the change.

Configuration The README plugin can be configured in your build.gradle file. All fields are optional. The default values below will be used as a fallback.

readme { // Location of the final README.md readmeFile = file('README.md')

// Location of the template
templateFile = file('src/readme/README.md')

// Properties used as data for the template 
propertiesFile = file('gradle.properties') 

// The readme task will fail if a README.md exists and this field is set to false.
overwrite = false 

// Encoding of your README.md and template.
encoding = 'UTF-8'

}

About

A simple social media platform consisting of a backend API and , and The platform should support creating, reading, updating, and deleting operations for user profiles ,posts,chats ,comments and many more

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages