Skip to content

Commit b6f455e

Browse files
committed
add plugin, won't build on JDK6
1 parent d572074 commit b6f455e

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

build.gradle

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,21 @@ dependencies {
3636
// TODO: find out how to initialize these dependencies properly, or remove them
3737
//compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.5'
3838
//compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.5'
39-
}
39+
}
40+
41+
buildscript {
42+
repositories {
43+
mavenCentral()
44+
}
45+
dependencies {
46+
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.7.0'
47+
}
48+
}
49+
apply plugin: 'license'
50+
license {
51+
header rootProject.file('codequality/HEADER')
52+
ext.year = Calendar.getInstance().get(Calendar.YEAR)
53+
}
4054

4155
artifacts {
4256
archives javadocJar, sourcesJar

codequality/HEADER

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
OpenTok Java SDK
2+
http://www.tokbox.com
3+
4+
Licensed under The MIT License (MIT). See LICENSE file for more information.

0 commit comments

Comments
 (0)