Goddchen / mvn-repo

154 stars 45 forks source link

...updated HoloEveryWhere to include addons #27

Closed derdoktor667 closed 11 years ago

derdoktor667 commented 11 years ago

...actually we need to build the SNAPSHOT to get the plugins working ....hope this will fix this ...the addons are included ...you'll get "the whole package" at once

best regards

Goddchen commented 11 years ago

Awesome thanks :) Hopefully things with HE are fixed now :)

itvdonsk commented 11 years ago

Something strange at all :) library is missing. The addon only one. Addonslider.

Goddchen commented 11 years ago

Could you explain please? What have you tried and what error did you get?

itvdonsk commented 11 years ago

I have application using HE 1.6.8 Before:

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:0.5.+'
    }
}
apply plugin: 'android'

repositories {
    maven {
        url 'https://github.com/Goddchen/mvn-repo/raw/master/'
    }
    mavenCentral()

}

android {
    compileSdkVersion 17
    buildToolsVersion "18.0.1"

    defaultConfig {
        minSdkVersion 8
        targetSdkVersion 17
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: '*.jar')
    compile 'org.holoeverywhere:holoeverywhere:1.6.8'
    compile 'org.holoeverywhere:addon-preferences:1.6.8'
    compile 'com.jeremyfeinstein.slidingmenu:slidingmenu:1.3-SNAPSHOT'
    compile 'com.android:volley:1.0'
    compile 'org.samba.jcifs:jcifs:1.3.14-kohsuke-1'
}

After:

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:0.5.+'
    }
}
apply plugin: 'android'

repositories {
    maven {
        url 'https://github.com/Goddchen/mvn-repo/raw/master/'
    }
    mavenCentral()

}

android {
    compileSdkVersion 17
    buildToolsVersion "18.0.1"

    defaultConfig {
        minSdkVersion 8
        targetSdkVersion 17
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: '*.jar')
    compile 'org.holoeverywhere:holoeverywhere:2.0.0-SNAPSHOT'
    compile 'com.jeremyfeinstein.slidingmenu:slidingmenu:1.3-SNAPSHOT'
    compile 'com.android:volley:1.0'
    compile 'org.samba.jcifs:jcifs:1.3.14-kohsuke-1'
}

Error:

Gradle: Error retrieving parent for item: No resource found that matches the given name 'Holo.Theme'.

values.xml from library

<?xml version="1.0" encoding="utf-8"?>
<resources>

    <!-- From: file:/home/derdoktor/mvn-packer/holowadds/addons/slider/res/values/attrs.xml -->
    <attr name="textAppearanceSliderItem" format="reference" />
    <attr name="textAppearanceSliderItemInverse" format="reference" />

    <declare-styleable name="SliderMenu">
        <attr name="textAppearanceSliderItem" />
        <attr name="textAppearanceSliderItemInverse" />
    </declare-styleable>
    <!-- From: file:/home/derdoktor/mvn-packer/holowadds/addons/slider/res/values/dimens.xml -->
    <dimen name="menu_width">200dp</dimen>
    <!-- From: file:/home/derdoktor/mvn-packer/holowadds/addons/slider/res/values/ids.xml -->
    <item name="contentView" type="id"/>
    <item name="leftView" type="id"/>
    <item name="rightView" type="id"/>
    <item name="slider" type="id"/>
    <!-- From: file:/home/derdoktor/mvn-packer/holowadds/addons/slider/res/values/themes.xml -->
    <style name="Holo.Internal.SliderTheme" parent="Holo.Theme">

        <!-- Include block: Base -->
        <item name="textAppearanceSliderItem">?android:textAppearanceMedium</item>
        <item name="textAppearanceSliderItemInverse">?android:textAppearanceMediumInverse</item>
        <!-- End of block Base -->
    </style>

    <style name="Holo.Internal.SliderTheme.Light" parent="Holo.Theme.Light">

        <!-- Include block: Base -->
        <item name="textAppearanceSliderItem">?android:textAppearanceMedium</item>
        <item name="textAppearanceSliderItemInverse">?android:textAppearanceMediumInverse</item>
        <!-- End of block Base -->
    </style>

</resources>
derdoktor667 commented 11 years ago

....what's my path doing in the values??? ...have to review the package build ...suggest rollback to 1.6.8 meanwhile ...very strange ...something in the HoloEveryWhere lib is "strange" ....

Goddchen commented 11 years ago

Rollback to 1.6.8 done for now