Skip to content

newnewcoder/linepush-gradle-plugin

Repository files navigation

Linepush Gradle Plugin

travis-ci license download

About

It's a gradle plugin using line-bot message push api to send line message.

Getting Start

First, you need to register a line-bot account, then get the token and room ID.

Setting

In build.gradle, apply linepush plugin, and setting your line-bot information in line block.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath "com.github.newnewcoder:linepush-gradle-plugin:1.0.0"
    }
}
apply plugin: 'com.github.newnewcoder.linepush'

line {
    token = "<your linebot token>"
    sendTo = "<the roomID/userID/groupID you want to send>"
    text = "<the message you want to send>"
}

How to Use

Start a bash, and run the command below

./gradlew send

other example is here

About

It's a gradle plugin using line-bot message push api to send line message.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages