forked from waynell/TinyPngPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
59 lines (49 loc) · 1.25 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
}
}
plugins {
id 'java-gradle-plugin'
id 'com.gradle.plugin-publish' version '0.10.0'
}
version = "1.3"
group = "com.bcombes.tinypng"
allprojects {
repositories {
mavenCentral()
}
}
gradlePlugin {
plugins {
tinyPngPlugin {
id = 'com.bcombes.tinypng'
implementationClass = 'com.bcombes.tinypng.TinyPngPlugin'
}
}
}
pluginBundle {
website = 'https://github.com/bcombes/TinyPngPlugin'
vcsUrl = 'https://github.com/bcombes/TinyPngPlugin.git'
description = 'Gradle plugin for automatically optimizing project png and jpg images!'
tags = ['tinypng', 'image', 'optimize', 'png', 'jpg']
plugins {
tinyPngPlugin {
// id is captured from java-gradle-plugin configuration
displayName = 'Tiny PNG plugin'
}
}
}
apply plugin: 'groovy'
//apply from: 'bintray.gradle'
//apply from: 'binlocal.gradle'
dependencies {
compile gradleApi()
compile localGroovy()
compile 'com.tinify:tinify:1.3.1'
}