Cleanup.
This commit is contained in:
parent
b0e0149412
commit
de1325cc06
5 changed files with 17 additions and 25 deletions
9
.github/workflows/gradle.yml
vendored
9
.github/workflows/gradle.yml
vendored
|
@ -1,16 +1,9 @@
|
|||
name: Java CI with Gradle
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
workflow_dispatch:
|
||||
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
|
|
@ -2,7 +2,6 @@ image: gradle:alpine
|
|||
|
||||
variables:
|
||||
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
|
||||
CI: "true"
|
||||
|
||||
before_script:
|
||||
- export GRADLE_USER_HOME=`pwd`/.gradle
|
||||
|
|
|
@ -53,7 +53,7 @@ A couple of useful functions are also available:
|
|||
|
||||
```kotlin
|
||||
ReadingTime.wordCount(htmlText) // Returns the count of words. (HTML stripped)
|
||||
ReadingTime.imgCount(htmlText) // Returns the count of images. (img HTML tags)
|
||||
ReadingTime.imgCount(htmlText) // Returns the count of images. (HTML img tags)
|
||||
```
|
||||
|
||||
### Gradle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue