This commit is contained in:
Erik C. Thauvin 2020-07-27 03:40:15 -07:00
parent b0e0149412
commit de1325cc06
5 changed files with 17 additions and 25 deletions

View file

@ -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:

View file

@ -2,7 +2,6 @@ image: gradle:alpine
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
CI: "true"
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle

View file

@ -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