来自github的SimplePanorama库,用于显示360度照片

时间:2018-07-15 08:44:09

标签: android github move photo panning

我正在使用来自github的android SimplePanorama库显示360度照片。

我需要使用没有启用加速功能的代码将360度照片缓慢移动到任何相机角度。

group 'com.norg.parts'
version '1.0-SNAPSHOT'

buildscript {
    ext.kotlin_ver = '1.2.50'

    repositories {
        mavenCentral()
    }

    dependencies {
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_ver"
    }
}

allprojects {
    project.ext {
        kotlin_version = kotlin_ver
        ktor_version = '0.9.1'
    }
    repositories {
        jcenter()
        mavenCentral()
        maven { url 'https://dl.bintray.com/kotlin/ktor' }
        maven { url 'https://dl.bintray.com/kotlin/kotlinx' }
        maven { url 'https://mvnrepository.com/artifac/' }
        maven { url "https://dl.bintray.com/kotlin/exposed" }
    }
}

apply plugin: 'java'
apply plugin: 'kotlin'

sourceCompatibility = 1.8

dependencies {
    compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
    testCompile group: 'junit', name: 'junit', version: '4.12'
}

compileKotlin {
    kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
    kotlinOptions.jvmTarget = "1.8"
}

jar {
    manifest {
        attributes 'Main-Class': 'com.norg.parts.MainKt'
    }
//TODO    include jar from frontend!
}

请帮助

0 个答案:

没有答案
相关问题