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
|
name: Java CI with Gradle
|
||||||
|
|
||||||
on:
|
on: [push, pull_request, workflow_dispatch]
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -2,7 +2,6 @@ image: gradle:alpine
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
|
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
|
||||||
CI: "true"
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- export GRADLE_USER_HOME=`pwd`/.gradle
|
- export GRADLE_USER_HOME=`pwd`/.gradle
|
||||||
|
|
|
@ -53,7 +53,7 @@ A couple of useful functions are also available:
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
ReadingTime.wordCount(htmlText) // Returns the count of words. (HTML stripped)
|
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
|
### Gradle
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue