Skip to content

Commit e286564

Browse files
Gradleのアップデート。
1 parent b18987b commit e286564

5 files changed

Lines changed: 38 additions & 38 deletions

File tree

dConnectManager/dConnectManager/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
buildscript {
44
repositories {
55
google()
6-
jcenter()
6+
mavenCentral()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:3.6.2'
9+
classpath 'com.android.tools.build:gradle:4.1.2'
1010

1111
// NOTE: Do not place your application dependencies here; they belong
1212
// in the individual module build.gradle files
@@ -17,6 +17,6 @@ allprojects {
1717
repositories {
1818
maven { url 'https://jitpack.io' }
1919
google()
20-
jcenter()
20+
mavenCentral()
2121
}
2222
}

dConnectManager/dConnectManager/dconnect-manager-app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ dependencies {
116116
}
117117

118118
android.testVariants.all { variant ->
119-
task("generateJavadocForManagerJUnit", type: Javadoc, overwrite: true) {
119+
tasks.register("generate${variant.name.capitalize()}JavadocForManagerJUnit", Javadoc) {
120120
title = "Android Device Connect Manager Unit Test"
121121
description = "Generates Javadoc for JUnit"
122122
source = android.sourceSets.androidTest.java.sourceFiles

dConnectManager/dConnectManager/dconnect-manager-app/src/main/java/org/deviceconnect/android/manager/DConnectService.java

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -308,36 +308,36 @@ public void onError(final Exception e) {
308308
/**
309309
* Hostプラグインを追加します.
310310
*/
311-
private void addDevicePlugin() {
312-
String packageName = getPackageName();
313-
String className = HostDevicePlugin.class.getName();
314-
315-
DevicePlugin plugin;
316-
try {
317-
plugin = new DevicePlugin.Builder(this)
318-
.setClassName(className)
319-
.setPackageName(packageName)
320-
.setConnectionType(ConnectionType.DIRECT)
321-
.setDeviceName(getString(R.string.app_name_host))
322-
.setPluginIconId(R.drawable.dconnect_icon)
323-
.setVersionName(org.deviceconnect.android.deviceplugin.host.BuildConfig.VERSION_NAME)
324-
.setPluginXml(DevicePluginXmlUtil.getXml(getApplicationContext(),
325-
R.xml.org_deviceconnect_android_deviceplugin_host))
326-
.setPluginId(DConnectUtil.toMD5(packageName + className))
327-
.setPluginSdkVersionName(VersionName.parse("2.0.0"))
328-
.addProviderAuthority("org.deviceconnect.android.deviceplugin.host.provider.included")
329-
.build();
330-
mManager.getPluginManager().addDevicePlugin(plugin);
331-
} catch (UnsupportedEncodingException e) {
332-
if (DEBUG) {
333-
Log.e(TAG, "add plugin error.", e);
334-
}
335-
} catch (NoSuchAlgorithmException e) {
336-
if (DEBUG) {
337-
Log.e(TAG, "add plugin error.", e);
338-
}
339-
}
340-
}
311+
// private void addDevicePlugin() {
312+
// String packageName = getPackageName();
313+
// String className = HostDevicePlugin.class.getName();
314+
//
315+
// DevicePlugin plugin;
316+
// try {
317+
// plugin = new DevicePlugin.Builder(this)
318+
// .setClassName(className)
319+
// .setPackageName(packageName)
320+
// .setConnectionType(ConnectionType.DIRECT)
321+
// .setDeviceName(getString(R.string.app_name_host))
322+
// .setPluginIconId(R.drawable.dconnect_icon)
323+
// .setVersionName(org.deviceconnect.android.deviceplugin.host.BuildConfig.VERSION_NAME)
324+
// .setPluginXml(DevicePluginXmlUtil.getXml(getApplicationContext(),
325+
// R.xml.org_deviceconnect_android_deviceplugin_host))
326+
// .setPluginId(DConnectUtil.toMD5(packageName + className))
327+
// .setPluginSdkVersionName(VersionName.parse("2.0.0"))
328+
// .addProviderAuthority("org.deviceconnect.android.deviceplugin.host.provider.included")
329+
// .build();
330+
// mManager.getPluginManager().addDevicePlugin(plugin);
331+
// } catch (UnsupportedEncodingException e) {
332+
// if (DEBUG) {
333+
// Log.e(TAG, "add plugin error.", e);
334+
// }
335+
// } catch (NoSuchAlgorithmException e) {
336+
// if (DEBUG) {
337+
// Log.e(TAG, "add plugin error.", e);
338+
// }
339+
// }
340+
// }
341341
/**
342342
* DConnectManagerを停止します.
343343
*/
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Mon Apr 20 11:14:05 JST 2020
1+
#Tue Jul 13 12:04:58 JST 2021
22
distributionBase=GRADLE_USER_HOME
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
34
distributionPath=wrapper/dists
4-
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
6+
zipStoreBase=GRADLE_USER_HOME

dConnectSDK/dConnectLibStreaming/libsrt/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def getArtificatId = { ->
1515

1616
android {
1717
compileSdkVersion 29
18-
ndkVersion "21.0.6113669"
18+
ndkVersion '21.4.7075529'
1919

2020
defaultConfig {
2121
minSdkVersion 21

0 commit comments

Comments
 (0)