commons-method-poster

commons-method-poster for Android

Лицензия

Лицензия

Группа

Группа

com.github.wandersnail
Идентификатор

Идентификатор

commons-method-poster
Последняя версия

Последняя версия

1.0.2
Дата

Дата

Тип

Тип

aar
Описание

Описание

commons-method-poster
commons-method-poster for Android
Ссылка на сайт

Ссылка на сайт

https://github.com/wandersnail
Система контроля версий

Система контроля версий

https://github.com/wandersnail/commons-method-poster

Скачать commons-method-poster

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.wandersnail/commons-method-poster/ -->
<dependency>
    <groupId>com.github.wandersnail</groupId>
    <artifactId>commons-method-poster</artifactId>
    <version>1.0.2</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.wandersnail/commons-method-poster/
implementation 'com.github.wandersnail:commons-method-poster:1.0.2'
// https://jarcasting.com/artifacts/com.github.wandersnail/commons-method-poster/
implementation ("com.github.wandersnail:commons-method-poster:1.0.2")
'com.github.wandersnail:commons-method-poster:aar:1.0.2'
<dependency org="com.github.wandersnail" name="commons-method-poster" rev="1.0.2">
  <artifact name="commons-method-poster" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.github.wandersnail', module='commons-method-poster', version='1.0.2')
)
libraryDependencies += "com.github.wandersnail" % "commons-method-poster" % "1.0.2"
[com.github.wandersnail/commons-method-poster "1.0.2"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

代码托管

Maven Central Download

使用

  1. 因为使用了jdk8的一些特性,需要在module的build.gradle里添加如下配置:
//纯java的项目
android {
	compileOptions {
		sourceCompatibility JavaVersion.VERSION_1_8
		targetCompatibility JavaVersion.VERSION_1_8
	}
}

//有kotlin的项目还需要在project的build.gradle里添加
allprojects {
    tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
        sourceCompatibility = JavaVersion.VERSION_1_8
        targetCompatibility = JavaVersion.VERSION_1_8

        kotlinOptions {
            jvmTarget = '1.8'
            apiVersion = '1.3'
            languageVersion = '1.3'
        }
    }
}
  1. module的build.gradle中的添加依赖,自行修改为最新版本,需要哪个就依赖哪个,同步后通常就可以用了:
dependencies {
	...
	implementation 'cn.wandersnail:common-poster:latestVersion'
}
  1. 如果从jcenter下载失败。在project的build.gradle里的repositories添加内容,最好两个都加上,添加完再次同步即可。
allprojects {
	repositories {
		...
		mavenCentral()
		maven { url 'https://dl.bintray.com/wandersnail/androidx/' }
	}
}

功能

  • 方法执行线程控制

Версии библиотеки

Версия
1.0.2
1.0.1
1.0.0