Skip to content

Commit ae4646a

Browse files
committed
updates license header and gradle plugin
1 parent b6f455e commit ae4646a

18 files changed

+113
-6
lines changed

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ buildscript {
4343
mavenCentral()
4444
}
4545
dependencies {
46-
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.7.0'
46+
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.10.0'
4747
}
4848
}
49+
4950
apply plugin: 'license'
5051
license {
5152
header rootProject.file('codequality/HEADER')

codequality/HEADER

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
OpenTok Java SDK
2+
Copyright (C) ${year} TokBox, Inc.
23
http://www.tokbox.com
34

45
Licensed under The MIT License (MIT). See LICENSE file for more information.

src/main/java/com/opentok/Archive.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* OpenTok Java SDK
3+
* Copyright (C) 2015 TokBox, Inc.
4+
* http://www.tokbox.com
5+
*
6+
* Licensed under The MIT License (MIT). See LICENSE file for more information.
7+
*/
18
package com.opentok;
29

310
import com.fasterxml.jackson.annotation.JsonCreator;

src/main/java/com/opentok/OpenTok.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* OpenTok Java SDK
3+
* Copyright (C) 2015 TokBox, Inc.
4+
* http://www.tokbox.com
5+
*
6+
* Licensed under The MIT License (MIT). See LICENSE file for more information.
7+
*/
18

29
/*!
310
* OpenTok Java Library

src/main/java/com/opentok/Role.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
/*!
2-
* OpenTok Java Library
3-
* http://www.tokbox.com/
1+
/**
2+
* OpenTok Java SDK
3+
* Copyright (C) 2015 TokBox, Inc.
4+
* http://www.tokbox.com
45
*
5-
* Copyright 2010, TokBox, Inc.
6+
* Licensed under The MIT License (MIT). See LICENSE file for more information.
67
*/
7-
88
package com.opentok;
99
/**
1010
* Defines values for the role parameter of the <code>OpenTokSDK.generateToken()</code> method.

src/main/java/com/opentok/Session.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* OpenTok Java SDK
3+
* Copyright (C) 2015 TokBox, Inc.
4+
* http://www.tokbox.com
5+
*
6+
* Licensed under The MIT License (MIT). See LICENSE file for more information.
7+
*/
18
package com.opentok;
29

310
import java.io.UnsupportedEncodingException;

src/main/java/com/opentok/SessionProperties.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* OpenTok Java SDK
3+
* Copyright (C) 2015 TokBox, Inc.
4+
* http://www.tokbox.com
5+
*
6+
* Licensed under The MIT License (MIT). See LICENSE file for more information.
7+
*/
18
package com.opentok;
29

310
import com.opentok.exception.InvalidArgumentException;

src/main/java/com/opentok/TokenOptions.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* OpenTok Java SDK
3+
* Copyright (C) 2015 TokBox, Inc.
4+
* http://www.tokbox.com
5+
*
6+
* Licensed under The MIT License (MIT). See LICENSE file for more information.
7+
*/
18
package com.opentok;
29

310
import com.opentok.exception.InvalidArgumentException;

src/main/java/com/opentok/constants/Version.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* OpenTok Java SDK
3+
* Copyright (C) 2015 TokBox, Inc.
4+
* http://www.tokbox.com
5+
*
6+
* Licensed under The MIT License (MIT). See LICENSE file for more information.
7+
*/
18
package com.opentok.constants;
29

310
/**

src/main/java/com/opentok/constants/package-info.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* OpenTok Java SDK
3+
* Copyright (C) 2015 TokBox, Inc.
4+
* http://www.tokbox.com
5+
*
6+
* Licensed under The MIT License (MIT). See LICENSE file for more information.
7+
*/
18
/**
29
* Defines values for token roles and peer-to-peer settings.
310
*/

0 commit comments

Comments
 (0)