Skip to content

Commit c62bbc1

Browse files
authored
Merge pull request cats-oss#465 from cats-oss/v2.0.4
Update tools and samples
2 parents c3051f6 + a28f72c commit c62bbc1

File tree

9 files changed

+44
-10
lines changed

9 files changed

+44
-10
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ out/
1818

1919
# Gradle files
2020
.gradle/
21-
build/
22-
21+
build/
2322
# Local configuration file (sdk path, etc)
2423
local.properties
2524

@@ -63,3 +62,4 @@ fastlane/readme.md
6362

6463
# NDK
6564
.externalNativeBuild
65+
.cxx

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.2.71'
4+
ext.kotlin_version = '1.3.41'
55
repositories {
66
google()
77
jcenter()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:3.4.0-alpha02'
10+
classpath 'com.android.tools.build:gradle:3.6.0-alpha05'
1111
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
1212
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

gradle/wrapper/gradle-wrapper.jar

-561 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
#!/usr/bin/env sh
22

3+
#
4+
# Copyright 2015 the original author or authors.
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# https://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
18+
319
##############################################################################
420
##
521
## Gradle start up script for UN*X
@@ -28,7 +44,7 @@ APP_NAME="Gradle"
2844
APP_BASE_NAME=`basename "$0"`
2945

3046
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31-
DEFAULT_JVM_OPTS=""
47+
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
3248

3349
# Use the maximum available, or set MAX_FD != -1 to use that value.
3450
MAX_FD="maximum"

gradlew.bat

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
@rem
2+
@rem Copyright 2015 the original author or authors.
3+
@rem
4+
@rem Licensed under the Apache License, Version 2.0 (the "License");
5+
@rem you may not use this file except in compliance with the License.
6+
@rem You may obtain a copy of the License at
7+
@rem
8+
@rem https://www.apache.org/licenses/LICENSE-2.0
9+
@rem
10+
@rem Unless required by applicable law or agreed to in writing, software
11+
@rem distributed under the License is distributed on an "AS IS" BASIS,
12+
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
@rem See the License for the specific language governing permissions and
14+
@rem limitations under the License.
15+
@rem
16+
117
@if "%DEBUG%" == "" @echo off
218
@rem ##########################################################################
319
@rem
@@ -14,7 +30,7 @@ set APP_BASE_NAME=%~n0
1430
set APP_HOME=%DIRNAME%
1531

1632
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17-
set DEFAULT_JVM_OPTS=
33+
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
1834

1935
@rem Find java.exe
2036
if defined JAVA_HOME goto findJavaFromJavaHome

library/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ android {
99

1010
versionCode = VERSION_CODE as int
1111
versionName = VERSION_NAME
12+
ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
1213
externalNativeBuild {
1314
cmake { cppFlags "" }
1415
}

library/src/main/java/jp/co/cyberagent/android/gpuimage/GPUImage.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,6 @@ public void setScaleType(ScaleType scaleType) {
256256
* This gets the size of the image. This makes it easier to adjust
257257
* the size of your imagePreview to the the size of the scaled image.
258258
*
259-
* @param width The bitmap width
260-
* @param height The bitmap height
261259
* @return array with width and height of bitmap image
262260
*/
263261
public int[] getScaleSize() {

sample/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ android {
88
defaultConfig {
99
minSdkVersion MIN_SDK_VERSION as int
1010
targetSdkVersion TARGET_SDK_VERSION as int
11+
12+
versionCode = VERSION_CODE as int
13+
versionName = VERSION_NAME
1114
}
1215

1316
buildTypes {
@@ -31,6 +34,6 @@ repositories {
3134

3235
dependencies {
3336
implementation project(':library')
34-
implementation 'androidx.appcompat:appcompat:1.0.0'
37+
implementation 'androidx.appcompat:appcompat:1.0.2'
3538
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
3639
}

0 commit comments

Comments
 (0)